diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-05 18:13:35 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-05 18:13:35 +0000 |
commit | 830276508b3cd8c658dfe67f00138de0194c5cae (patch) | |
tree | 50b088f7a6c5e8ce0724dfc199e3e36439954114 /phpBB/includes | |
parent | 88b698c9896e6c552efbf999d1801f92046a02cc (diff) | |
download | forums-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.php | 2 |
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']; } |