From c8e8b4bfdbe2c5795fb66ae337713a49ba0ff7cb Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 28 Nov 2010 22:27:50 +0000 Subject: [PATCH] Follow up r77401. Mixture of null/false. Happens to also fix the parsertests issue. --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 07af8019c6..80093cabd4 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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; } -- 2.20.1