Commit b447a7ae authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) auth: fix crash reporter warning

(cherry picked from commit f9451641)
parent 63afec18
......@@ -87,7 +87,7 @@ function isAllowedPage($page)
}
/* user privelege access check */
$allowedpages = getAllowedPages($user);
$allowedpages = getAllowedPages($_SESSION['Username']);
return cmp_page_matches($page, $allowedpages);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment