summaryrefslogtreecommitdiffstats
path: root/etc/inc/priv.inc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-02 22:47:43 -0500
committersullrich <sullrich@pfsense.org>2009-12-02 22:47:43 -0500
commit53b305053dc26097bac64728521ccdf57e355f15 (patch)
tree87f301d029e87cc312cba1291d3a0d6982781fc7 /etc/inc/priv.inc
parent953ab2d47bc2da80d6aae5992ebf74022322c7b1 (diff)
downloadpfsense-53b305053dc26097bac64728521ccdf57e355f15.zip
pfsense-53b305053dc26097bac64728521ccdf57e355f15.tar.gz
Set 2nd parameter for isAllowedPage. Will be required for #34, 33, 32
Diffstat (limited to 'etc/inc/priv.inc')
-rw-r--r--etc/inc/priv.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/priv.inc b/etc/inc/priv.inc
index 9913c4e..3d5adb3 100644
--- a/etc/inc/priv.inc
+++ b/etc/inc/priv.inc
@@ -175,7 +175,7 @@ function get_user_privdesc(& $user) {
return $privs;
}
-function isAllowedPage($page, $username = "") {
+function isAllowedPage($page, $username) {
global $_SESSION;
if($username == "")
OpenPOWER on IntegriCloud