diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-18 17:29:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-18 17:29:36 +0000 |
commit | f10e8e4828d892357d1ff6df3198bb9840d65e5b (patch) | |
tree | 26631c35c58556630a9798e95d834cdf4f5f56d4 /etc | |
parent | 9c98515dddc41c7c481b0ccd03315243291e0295 (diff) | |
download | pfsense-f10e8e4828d892357d1ff6df3198bb9840d65e5b.zip pfsense-f10e8e4828d892357d1ff6df3198bb9840d65e5b.tar.gz |
Ensure that $allowed is set.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d162854..3494dad 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -2246,6 +2246,8 @@ function display_top_tabs(& $tab_array) { global $config; global $g; $allowed = $g['privs']; + if(!$allowed) + $allowed = $_SESSION['privs']; /* does the user have access to this tab? * master user has access to everything. |