From c3f2858668dddbe8fefbdfa89a8c9dc96e78faa5 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 17 Dec 2013 18:49:34 -0800 Subject: [PATCH] Don't rely on array() == null Just use === null instead. Change-Id: I6adf066214ad5bf9ae508d190b4e3e3fd92e4736 --- includes/specials/SpecialBlockList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 5610143935..4e4db115b3 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -230,7 +230,7 @@ class BlockListPager extends TablePager { function getFieldNames() { static $headers = null; - if ( $headers == array() ) { + if ( $headers === null ) { $headers = array( 'ipb_timestamp' => 'blocklist-timestamp', 'ipb_target' => 'blocklist-target', -- 2.20.1