aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-10-07 00:48:51 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-10-07 00:48:51 +0000
commit8b5482d32014b55e3d52912d0d641205907713dc (patch)
treeebe7acae91805f019272c8be48a430ff9b428820 /phpBB
parent7a8b0a6f27cb28ef51bf25ef0f58831d5cbd99f5 (diff)
downloadforums-8b5482d32014b55e3d52912d0d641205907713dc.tar
forums-8b5482d32014b55e3d52912d0d641205907713dc.tar.gz
forums-8b5482d32014b55e3d52912d0d641205907713dc.tar.bz2
forums-8b5482d32014b55e3d52912d0d641205907713dc.tar.xz
forums-8b5482d32014b55e3d52912d0d641205907713dc.zip
Err... max() actually needs two args :D
git-svn-id: file:///svn/phpbb/trunk@2937 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
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?