aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-08 19:04:49 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-08 19:04:49 +0000
commit0b2aaae28bb341a38864eda320e135826a0568e4 (patch)
tree3eb7fb1c71612582f5dfa3bbeb062e6d26cb12aa /phpBB/report.php
parentf8be2a133bccc6860dd5531dbbfc068a5a3fa699 (diff)
downloadforums-0b2aaae28bb341a38864eda320e135826a0568e4.tar
forums-0b2aaae28bb341a38864eda320e135826a0568e4.tar.gz
forums-0b2aaae28bb341a38864eda320e135826a0568e4.tar.bz2
forums-0b2aaae28bb341a38864eda320e135826a0568e4.tar.xz
forums-0b2aaae28bb341a38864eda320e135826a0568e4.zip
- 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
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php3
1 files changed, 2 insertions, 1 deletions
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');
}