From 6c61f8f21cf69c40863753caa22858bcfd4780ef Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 28 Nov 2010 22:40:29 +0000 Subject: [PATCH] Fix bug introduced in r77171 --- includes/GlobalFunctions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 80093cabd4..771c00989a 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1990,6 +1990,7 @@ function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) { if ( $ts === 0 ) { $uts = time(); + $strtime = "@$ts"; } elseif ( preg_match( '/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)$/D', $ts, $da ) ) { # TS_DB } elseif ( preg_match( '/^(\d{4}):(\d\d):(\d\d) (\d\d):(\d\d):(\d\d)$/D', $ts, $da ) ) { -- 2.20.1