mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:10:18 +02:00
oopsie
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4852 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -124,7 +124,6 @@ function auth($type, $forum_id, $userdata, $f_access = '')
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$sql_fetchrow = ( $forum_id != AUTH_LIST_ALL ) ? 'sql_fetchrow' : 'sql_fetchrowset';
|
||||
|
||||
@@ -133,7 +132,6 @@ function auth($type, $forum_id, $userdata, $f_access = '')
|
||||
$db->sql_freeresult($result);
|
||||
return array();
|
||||
}
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
@@ -157,7 +155,6 @@ function auth($type, $forum_id, $userdata, $f_access = '')
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if ( $row = $db->sql_fetchrow($result) )
|
||||
{
|
||||
@@ -174,6 +171,7 @@ function auth($type, $forum_id, $userdata, $f_access = '')
|
||||
}
|
||||
while( $row = $db->sql_fetchrow($result) );
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
$is_admin = ( $userdata['user_level'] == ADMIN && $userdata['session_logged_in'] ) ? TRUE : 0;
|
||||
|
@@ -106,7 +106,6 @@ if (defined('SHOW_ONLINE'))
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$userlist_ary = array();
|
||||
$userlist_visible = array();
|
||||
|
Reference in New Issue
Block a user