mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Minor update
git-svn-id: file:///svn/phpbb/trunk@2451 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d19f24e23a
commit
cfb5acec81
1 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@ $template->assign_vars(array(
|
||||||
//
|
//
|
||||||
$sql = "SELECT forum_name, forum_id
|
$sql = "SELECT forum_name, forum_id
|
||||||
FROM " . FORUMS_TABLE;
|
FROM " . FORUMS_TABLE;
|
||||||
if( $result = $db->sql_query($sql) )
|
if ( $result = $db->sql_query($sql) )
|
||||||
{
|
{
|
||||||
while( $row = $db->sql_fetchrow($result) )
|
while( $row = $db->sql_fetchrow($result) )
|
||||||
{
|
{
|
||||||
|
@ -90,7 +90,7 @@ if ( !($result = $db->sql_query($sql)) )
|
||||||
message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $row = $db->sql_fetchrow($result) )
|
if ( $row = $db->sql_fetchrow($result) )
|
||||||
{
|
{
|
||||||
$guest_users = 0;
|
$guest_users = 0;
|
||||||
$registered_users = 0;
|
$registered_users = 0;
|
||||||
|
@ -157,11 +157,11 @@ if( $row = $db->sql_fetchrow($result) )
|
||||||
|
|
||||||
$which_counter = 'guest_counter';
|
$which_counter = 'guest_counter';
|
||||||
$which_row = 'guest_user_row';
|
$which_row = 'guest_user_row';
|
||||||
|
|
||||||
$prev_ip = $row['session_ip'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$prev_ip = $row['session_ip'];
|
||||||
|
|
||||||
if ( $view_online )
|
if ( $view_online )
|
||||||
{
|
{
|
||||||
if ( $user_page < 1 || !$is_auth_ary[$user_page]['auth_view'] )
|
if ( $user_page < 1 || !$is_auth_ary[$user_page]['auth_view'] )
|
||||||
|
|
Loading…
Add table
Reference in a new issue