mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 09:16:55 +02:00
Fix parse errors
git-svn-id: file:///svn/phpbb/trunk@8331 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -225,7 +225,7 @@ class acp_reasons
|
|||||||
$report_text .= $reason_row['reason_description'] . "\n\n";
|
$report_text .= $reason_row['reason_description'] . "\n\n";
|
||||||
|
|
||||||
$sql = 'UPDATE ' . REPORTS_TABLE . '
|
$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";
|
WHERE reason_id = $reason_id";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
||||||
|
@@ -1702,7 +1702,7 @@ function add_default_groups()
|
|||||||
|
|
||||||
$sql = 'SELECT *
|
$sql = 'SELECT *
|
||||||
FROM ' . GROUPS_TABLE . '
|
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);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
@@ -103,6 +103,7 @@ if (!$show_guests)
|
|||||||
FROM ' . SESSIONS_TABLE . '
|
FROM ' . SESSIONS_TABLE . '
|
||||||
WHERE session_user_id = ' . ANONYMOUS . '
|
WHERE session_user_id = ' . ANONYMOUS . '
|
||||||
AND session_time >= ' . (time() - ($config['load_online_time'] * 60));
|
AND session_time >= ' . (time() - ($config['load_online_time'] * 60));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sql = 'SELECT COUNT(session_ip) as num_guests
|
$sql = 'SELECT COUNT(session_ip) as num_guests
|
||||||
|
Reference in New Issue
Block a user