diff options
author | jim-p <jimp@pfsense.org> | 2016-02-19 13:58:56 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-02-19 13:59:13 -0500 |
commit | 44c30eb309d2575ec0900d4670ce98136eb9f3ab (patch) | |
tree | 16723abdb90fa5c6d0f18a8ec2cfa25e06a09b29 /src/usr/local/www/head.inc | |
parent | a9087de0f4ce1a27a45fe9b1014f871e10ad3334 (diff) | |
download | pfsense-44c30eb309d2575ec0900d4670ce98136eb9f3ab.zip pfsense-44c30eb309d2575ec0900d4670ce98136eb9f3ab.tar.gz |
Fix this test. Fixes #5909
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r-- | src/usr/local/www/head.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 100a047..8318986 100644 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -182,7 +182,7 @@ function return_ext_menu($section) { function output_menu($arrayitem, $target = null, $section = "") { foreach ($arrayitem as $item) { /* If the user has access to help pages, also show the full help menu. See #5909 */ - if (isAllowedPage($item[1]) || $item[1] == "/index.php?logout" || (($section = "Help") && isAllowedPage("help.php"))) { + if (isAllowedPage($item[1]) || $item[1] == "/index.php?logout" || (($section == "Help") && isAllowedPage("help.php"))) { $attr = sprintf("href=\"%s\"", htmlentities($item[1])); if ($target) { $attr .= sprintf(" target=\"%s\"", htmlentities($target)); |