Follow up r77401.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 28 Nov 2010 22:27:50 +0000 (22:27 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 28 Nov 2010 22:27:50 +0000 (22:27 +0000)
Mixture of null/false.
Happens to also fix the parsertests issue.

includes/GlobalFunctions.php

index 07af801..80093ca 100644 (file)
@@ -2030,7 +2030,7 @@ function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) {
                # Bogus value; fall back to the epoch...
                wfDebug("wfTimestamp() fed bogus time value: $outputtype; $ts\n");
                
-               return null;
+               return false;
        }