From 01dd61ee18a0ef9d1e09ca927048bb9f240dafef Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 2 Apr 2007 19:25:27 +0000 Subject: [PATCH] #9530 git-svn-id: file:///svn/phpbb/trunk@7268 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_reasons.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/acp/acp_reasons.php b/phpBB/includes/acp/acp_reasons.php index cc37c1e16d..4fe76c7bbb 100644 --- a/phpBB/includes/acp/acp_reasons.php +++ b/phpBB/includes/acp/acp_reasons.php @@ -61,11 +61,12 @@ class acp_reasons $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); - if (strtolower($row['reason_title']) == 'other') + if (strtolower($row['reason_title']) == 'other' || strtolower($reason_row['reason_title']) == 'other') { $reason_row['reason_title'] = 'other'; } - else if ($row['reason_title'] != $reason_row['reason_title']) + + if ($row['reason_title'] != $reason_row['reason_title']) { $check_double = true; }