aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-16 01:21:50 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-16 01:21:50 +0000
commit19f78622b08c1983d1f62285934e4eb74c4980d3 (patch)
treec7efde779c4947d7efb70fd6421ece5291447a36 /phpBB/includes
parent03f5d64e39248b5035cfaefa39bb902cb6534e0d (diff)
downloadforums-19f78622b08c1983d1f62285934e4eb74c4980d3.tar
forums-19f78622b08c1983d1f62285934e4eb74c4980d3.tar.gz
forums-19f78622b08c1983d1f62285934e4eb74c4980d3.tar.bz2
forums-19f78622b08c1983d1f62285934e4eb74c4980d3.tar.xz
forums-19f78622b08c1983d1f62285934e4eb74c4980d3.zip
permission stuff .. what else ...
git-svn-id: file:///svn/phpbb/trunk@2860 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 32df71b48b..d6ba64cd57 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -530,13 +530,11 @@ class acl
{
foreach ( $user_auth as $user => $user_auth_ary )
{
- $user_auth[$user][$auth_type][$auth_option] = $allow;
$sql_ary[] = ( !isset($user_auth_ary[$auth_type][$auth_option]) ) ? "INSERT INTO " . ACL_USERS_TABLE . " (user_id, forum_id, auth_option_id, auth_allow_deny) VALUES ($user_id, $forum_id, $auth_option, $allow)" : ( ( $user_auth_ary[$auth_type][$auth_option] != $allow ) ? "UPDATE " . ACL_USERS_TABLE . " SET auth_allow_deny = $allow WHERE user_id = $user_id AND forum_id = $forum_id and auth_option_id = $auth_option" : '' );
}
}
else
{
- $user_auth[$user_id][$auth_type][$auth_option] = $allow;
$sql_ary[] = "INSERT INTO " . ACL_USERS_TABLE . " (user_id, forum_id, auth_option_id, auth_allow_deny) VALUES ($user_id, $forum_id, $auth_option, $allow)";
}
}