diff options
| author | Marek A. R <aptx@phpbb.com> | 2008-01-22 22:15:30 +0000 |
|---|---|---|
| committer | Marek A. R <aptx@phpbb.com> | 2008-01-22 22:15:30 +0000 |
| commit | e6991260df29e519f1282d1f34fd7c4d300e122b (patch) | |
| tree | 68cac0bd3efb6e918bd7d668370c4a20edfd76bd | |
| parent | dbcf8a6f31b6d4597f23317c4a7e3204b1ccd852 (diff) | |
| download | forums-e6991260df29e519f1282d1f34fd7c4d300e122b.tar forums-e6991260df29e519f1282d1f34fd7c4d300e122b.tar.gz forums-e6991260df29e519f1282d1f34fd7c4d300e122b.tar.bz2 forums-e6991260df29e519f1282d1f34fd7c4d300e122b.tar.xz forums-e6991260df29e519f1282d1f34fd7c4d300e122b.zip | |
Fix parse errors
git-svn-id: file:///svn/phpbb/trunk@8331 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/includes/acp/acp_reasons.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/functions_convert.php | 2 | ||||
| -rw-r--r-- | phpBB/viewonline.php | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_reasons.php b/phpBB/includes/acp/acp_reasons.php index 80c8e5323d..7a74c29631 100644 --- a/phpBB/includes/acp/acp_reasons.php +++ b/phpBB/includes/acp/acp_reasons.php @@ -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); diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index cbf5bdbac2..2084a81236 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -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)) diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index c27788c4c8..c7cfe64f4c 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -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 |
