Commit 608dbd9a authored by Franco Fichtner's avatar Franco Fichtner

auth: fix crash reporter warning

parent efb83c62
...@@ -87,7 +87,7 @@ function isAllowedPage($page) ...@@ -87,7 +87,7 @@ function isAllowedPage($page)
} }
/* user privelege access check */ /* user privelege access check */
$allowedpages = getAllowedPages(); $allowedpages = getAllowedPages($user);
return cmp_page_matches($page, $allowedpages); 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