From 0b2aaae28bb341a38864eda320e135826a0568e4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 8 Oct 2006 19:04:49 +0000 Subject: - forum image being an additional image instead of replacing forum indicators - reasons fixes git-svn-id: file:///svn/phpbb/trunk@6470 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/report.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/report.php') diff --git a/phpBB/report.php b/phpBB/report.php index 5e5a9870d8..6328540064 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -64,6 +64,7 @@ $sql = 'SELECT * WHERE forum_id = ' . $forum_id; $result = $db->sql_query($sql); $forum_data = $db->sql_fetchrow($result); +$db->sql_freeresult($result); if (!$forum_data) { @@ -99,7 +100,7 @@ if ($submit && $reason_id) $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); - if (!$row || (!$report_text && $row['reason_title'] == 'other')) + if (!$row || (!$report_text && strtolower($row['reason_title']) == 'other')) { trigger_error('EMPTY_REPORT'); } -- cgit v1.2.1