aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-05 18:13:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-05 18:13:35 +0000
commit830276508b3cd8c658dfe67f00138de0194c5cae (patch)
tree50b088f7a6c5e8ce0724dfc199e3e36439954114 /phpBB/includes
parent88b698c9896e6c552efbf999d1801f92046a02cc (diff)
downloadforums-830276508b3cd8c658dfe67f00138de0194c5cae.tar
forums-830276508b3cd8c658dfe67f00138de0194c5cae.tar.gz
forums-830276508b3cd8c658dfe67f00138de0194c5cae.tar.bz2
forums-830276508b3cd8c658dfe67f00138de0194c5cae.tar.xz
forums-830276508b3cd8c658dfe67f00138de0194c5cae.zip
- #5120
- #5104 git-svn-id: file:///svn/phpbb/trunk@6555 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_reasons.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_reasons.php b/phpBB/includes/acp/acp_reasons.php
index 0dd62b5e22..72419de1ef 100644
--- a/phpBB/includes/acp/acp_reasons.php
+++ b/phpBB/includes/acp/acp_reasons.php
@@ -81,7 +81,7 @@ class acp_reasons
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
- if ($row || ($add && strtolower($reason_row['reason_title']) == 'other'))
+ if ($row || ($action == 'add' && strtolower($reason_row['reason_title']) == 'other'))
{
$error[] = $user->lang['REASON_ALREADY_EXIST'];
}