1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

Fix couple of errors ... you should run UPDATE phpbb_users SET user_permissions = '' after this update

git-svn-id: file:///svn/phpbb/trunk@3026 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2002-11-13 21:33:13 +00:00
parent 5a7e3a3bb3
commit 2fe1f1bc65
2 changed files with 4 additions and 4 deletions

View File

@@ -539,7 +539,7 @@ class auth
if (!is_int($forum_id))
{
$arguments[] = $forum_id;
$forum_id = false;
$forum_id = 0;
}
$acl = 0;
@@ -651,9 +651,9 @@ class auth
if ($global_hold == '')
{
for($i = 0; $i < $global_bits; $i++)
for($i = 0; $i < $global_bits / 8; $i++)
{
$global_hold .= '0';
$global_hold .= chr(0);
}
}