Commit f9451641 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) auth: fix crash reporter warning

parent 608dbd9a
......@@ -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