use strict null check
authorjeroendedauw <jeroendedauw@gmail.com>
Fri, 25 Jan 2013 15:51:00 +0000 (16:51 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 25 Jan 2013 20:23:26 +0000 (20:23 +0000)
Change-Id: I23d1b6b90ed46bf4b2b737539435c66b97a9a51d

includes/content/AbstractContent.php

index 85cd79c..926dea7 100644 (file)
@@ -236,7 +236,7 @@ abstract class AbstractContent implements Content {
                Content $old = null,
                $recursive = true, ParserOutput $parserOutput = null
        ) {
-               if ( !$parserOutput ) {
+               if ( $parserOutput === null ) {
                        $parserOutput = $this->getParserOutput( $title, null, null, false );
                }