From d64ff385299cb035f0eab805b561780a99900e82 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 26 Nov 2010 15:47:51 +0000 Subject: [PATCH] Follow up r77171 --- includes/GlobalFunctions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 7a01f205e6..e79363a10d 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2020,7 +2020,8 @@ function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) { } else { # Bogus value; fall back to the epoch... wfDebug("wfTimestamp() fed bogus time value: $outputtype; $ts\n"); - $uts = 0; + + return "Invalid date"; } -- 2.20.1