aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_reasons.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_reasons.php')
-rw-r--r--phpBB/includes/acp/acp_reasons.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_reasons.php b/phpBB/includes/acp/acp_reasons.php
index 631c9d992d..2e6f664946 100644
--- a/phpBB/includes/acp/acp_reasons.php
+++ b/phpBB/includes/acp/acp_reasons.php
@@ -184,6 +184,11 @@ class acp_reasons
trigger_error($user->lang['NO_REASON'] . adm_back_link($this->u_action));
}
+ if ($reason_row['reason_title'] == 'other')
+ {
+ trigger_error($user->lang['NO_REMOVE_DEFAULT_REASON'] . adm_back_link($this->u_action));
+ }
+
// Let the deletion be confirmed...
if (confirm_box(true))
{