From 2b6b4f9a0eee506276af95f67d4815ec364e765a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 13 Jan 2013 22:13:55 +0100 Subject: [PATCH] Fix erroneous check in refreshLinks.php Obviously null === false will never return true, and what we actually want here is to check whether we have a content or not. Change-Id: Id78897e80ba2553c925e10d67c0fce2186aa11fd --- maintenance/refreshLinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index 7a551d6510..fe03f51e5d 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -215,7 +215,7 @@ class RefreshLinks extends Maintenance { } $content = $page->getContent( Revision::RAW ); - if ( null === false ) { + if ( $content === null ) { return; } -- 2.20.1