From 8032dd276ed844a12931cf610c25852f3a070898 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 1 Apr 2013 20:31:47 +0200 Subject: [PATCH] Unscrew something that doesn't make sense The probably makes the B/C work that never worked. Found using PHPStorm's "Type compatibility" analyser. Change-Id: I657c06aa7c8ef1ed5bc608a453f78adf0e04b375 --- includes/specials/SpecialEditWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index d2838e0123..ad06d5f5b5 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -88,7 +88,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { # was $wgUser if( $mode instanceof User ) { $args = func_get_args(); - if( count( $args >= 4 ) ) { + if ( count( $args ) >= 4 ) { $mode = $args[3]; } } -- 2.20.1