From 30fbaf50122f431be8e02a2c8ba1b595f5c4b28d Mon Sep 17 00:00:00 2001 From: se4598 Date: Sat, 4 Oct 2014 16:53:20 +0200 Subject: [PATCH] code cleanup: $warnMsg is always set before removes wrong typed never used alternative value Change-Id: Ica747fd0904605f5415d763c8f8e00ac55a79053 --- Views/AbuseFilterViewEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/AbuseFilterViewEdit.php b/Views/AbuseFilterViewEdit.php index 3429ebaf9..20fdc2656 100644 --- a/Views/AbuseFilterViewEdit.php +++ b/Views/AbuseFilterViewEdit.php @@ -676,7 +676,7 @@ class AbuseFilterViewEdit extends AbuseFilterView { Xml::input( 'wpFilterWarnMessageOther', 45, - $warnMsg ? $warnMsg : 'abusefilter-warning-', + $warnMsg, array( 'id' => 'mw-abusefilter-warn-message-other' ) + $cbReadOnlyAttrib );