Better debug logging which isn't misleading
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 10 Dec 2010 14:40:50 +0000 (14:40 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 10 Dec 2010 14:40:50 +0000 (14:40 +0000)
includes/GlobalFunctions.php

index 72a9f27..e0d70ad 100644 (file)
@@ -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;
        }