From 44c30eb309d2575ec0900d4670ce98136eb9f3ab Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 19 Feb 2016 13:58:56 -0500 Subject: [PATCH] Fix this test. Fixes #5909 --- src/usr/local/www/head.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 100a0474de..8318986733 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));