summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-02-19 13:58:56 -0500
committerjim-p <jimp@pfsense.org>2016-02-19 13:59:13 -0500
commit44c30eb309d2575ec0900d4670ce98136eb9f3ab (patch)
tree16723abdb90fa5c6d0f18a8ec2cfa25e06a09b29 /src/usr/local/www/head.inc
parenta9087de0f4ce1a27a45fe9b1014f871e10ad3334 (diff)
downloadpfsense-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.inc2
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));
OpenPOWER on IntegriCloud