From: Niklas Laxström Date: Fri, 10 Dec 2010 14:40:50 +0000 (+0000) Subject: Better debug logging which isn't misleading X-Git-Tag: 1.31.0-rc.0~33393 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=1f5ad5ffac5d9fef3a340ca5e8e44fd356c6ce4b;p=lhc%2Fweb%2Fwiklou.git Better debug logging which isn't misleading --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 72a9f2772f..e0d70ad786 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1985,7 +1985,7 @@ function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) { $strtime = $ts; } else { # Bogus value; fall back to the epoch... - wfDebug("wfTimestamp() fed bogus time value: $outputtype; $ts\n"); + wfDebug("wfTimestamp() fed bogus time value: TYPE=$outputtype; VALUE=$ts\n"); return false; }