mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fix parse errors
git-svn-id: file:///svn/phpbb/trunk@8331 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
dbcf8a6f31
commit
e6991260df
3 changed files with 3 additions and 2 deletions
|
@ -225,7 +225,7 @@ class acp_reasons
|
|||
$report_text .= $reason_row['reason_description'] . "\n\n";
|
||||
|
||||
$sql = 'UPDATE ' . REPORTS_TABLE . '
|
||||
SET reason_id = ' . $other_reason_id . ", report_text = '" . $db->sql_escape($report_text) "'
|
||||
SET reason_id = ' . $other_reason_id . ", report_text = '" . $db->sql_escape($report_text) . "'
|
||||
WHERE reason_id = $reason_id";
|
||||
$db->sql_query($sql);
|
||||
|
||||
|
|
|
@ -1702,7 +1702,7 @@ function add_default_groups()
|
|||
|
||||
$sql = 'SELECT *
|
||||
FROM ' . GROUPS_TABLE . '
|
||||
WHERE ' . $db->sql_in_set('group_name_clean', array_map('utf8_clean_string', array_keys($default_groups));
|
||||
WHERE ' . $db->sql_in_set('group_name_clean', array_map('utf8_clean_string', array_keys($default_groups)));
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
|
|
|
@ -103,6 +103,7 @@ if (!$show_guests)
|
|||
FROM ' . SESSIONS_TABLE . '
|
||||
WHERE session_user_id = ' . ANONYMOUS . '
|
||||
AND session_time >= ' . (time() - ($config['load_online_time'] * 60));
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'SELECT COUNT(session_ip) as num_guests
|
||||
|
|
Loading…
Add table
Reference in a new issue