From: Platonides Date: Fri, 26 Nov 2010 15:47:51 +0000 (+0000) Subject: Follow up r77171 X-Git-Tag: 1.31.0-rc.0~33722 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=d64ff385299cb035f0eab805b561780a99900e82;p=lhc%2Fweb%2Fwiklou.git Follow up r77171 --- 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"; }