aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.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/includes/mcp/mcp_queue.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/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 69bebe9e06..7e23cf3219 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -644,7 +644,7 @@ function disapprove_post($post_id_list, $mode)
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
- if (!$row || (!$reason && $row['reason_title'] == 'other'))
+ if (!$row || (!$reason && strtolower($row['reason_title']) == 'other'))
{
$additional_msg = $user->lang['NO_REASON_DISAPPROVAL'];
unset($_POST['confirm']);
@@ -652,7 +652,7 @@ function disapprove_post($post_id_list, $mode)
else
{
// If the reason is defined within the language file, we will use the localized version, else just use the database entry...
- $disapprove_reason = ($row['reason_title'] != 'other') ? ((isset($user->lang['report_reasons']['DESCRIPTION'][strtoupper($row['reason_title'])])) ? $user->lang['report_reasons']['DESCRIPTION'][strtoupper($row['reason_title'])] : $row['reason_description']) : '';
+ $disapprove_reason = (strtolower($row['reason_title']) != 'other') ? ((isset($user->lang['report_reasons']['DESCRIPTION'][strtoupper($row['reason_title'])])) ? $user->lang['report_reasons']['DESCRIPTION'][strtoupper($row['reason_title'])] : $row['reason_description']) : '';
$disapprove_reason .= ($reason) ? "\n\n" . $reason : '';
}
}