From d2c89b6207b8c21a253e29fb5999113413318c9b Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 13 Jul 2010 10:36:44 -0400 Subject: Fix this function call, it only takes one parameter. --- etc/inc/authgui.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/authgui.inc') diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 0747452..ca97818 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -56,7 +56,7 @@ $allowedpages = getAllowedPages($HTTP_SERVER_VARS['AUTH_USER']); /* * redirect to first allowed page if requesting a wrong url */ -if (!isAllowedPage($_SERVER['SCRIPT_NAME'], $_SESSION['Username'])) { +if (!isAllowedPage($_SERVER['SCRIPT_NAME'])) { if (count($allowedpages) > 0) { $page = str_replace('*', '', $allowedpages[0]); $_SESSION['Post_Login'] = true; -- cgit v1.1