mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
oopsie
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4852 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bf57720165
commit
4ca1e7ec26
2 changed files with 1 additions and 4 deletions
|
@ -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);
|
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';
|
$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);
|
$db->sql_freeresult($result);
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->sql_freeresult($result);
|
$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);
|
message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
|
||||||
|
|
||||||
if ( $row = $db->sql_fetchrow($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) );
|
while( $row = $db->sql_fetchrow($result) );
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
$is_admin = ( $userdata['user_level'] == ADMIN && $userdata['session_logged_in'] ) ? TRUE : 0;
|
$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);
|
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
|
||||||
|
|
||||||
$userlist_ary = array();
|
$userlist_ary = array();
|
||||||
$userlist_visible = array();
|
$userlist_visible = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue