Follow up r77171
authorPlatonides <platonides@users.mediawiki.org>
Fri, 26 Nov 2010 15:47:51 +0000 (15:47 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 26 Nov 2010 15:47:51 +0000 (15:47 +0000)
includes/GlobalFunctions.php

index 7a01f20..e79363a 100644 (file)
@@ -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";
        }