From 8b5482d32014b55e3d52912d0d641205907713dc Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Mon, 7 Oct 2002 00:48:51 +0000 Subject: Err... max() actually needs two args :D git-svn-id: file:///svn/phpbb/trunk@2937 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index b27c83e4d6..59216d0c5e 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -535,7 +535,7 @@ class auth // Look up an option function get_acl($forum_id, $auth_main, $auth_type = false) { - return ( $auth_main && $auth_type ) ? ( ( $this->founder || max($this->acl[0]['admin']) ) ? true : $this->acl[$forum_id][$auth_main][$auth_type] ) : max($this->acl[$forum_id][$auth_main]); + return ( $auth_main && $auth_type ) ? ( ( $this->founder || $this->acl[0]['admin'] ) ? true : $this->acl[$forum_id][$auth_main][$auth_type] ) : $this->acl[$forum_id][$auth_main]; } // Is this needed? -- cgit v1.2.1