Fixed logging
authorAlexander Ebert <ebert@woltlab.com>
Sun, 2 Jun 2013 20:08:54 +0000 (22:08 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 2 Jun 2013 20:08:54 +0000 (22:08 +0200)
wcfsetup/install/files/lib/system/WCFSetup.class.php

index e6045e0eb62ffcb912c63ceec557abdad53237a5..64c9073f0048d0fdca4455144f06366890d4f399 100644 (file)
@@ -752,7 +752,7 @@ class WCFSetup extends WCF {
                        $GLOBALS['__db']['insert'] = round(microtime(true) - $s2, 3);
                }
                
-               file_put_contents(WCF_DIR.'__sqlPerformance.log', print_r($GLOBALS['__db']));
+               file_put_contents(WCF_DIR.'__sqlPerformance.log', print_r($GLOBALS['__db'], true));
                
                /*
                 * Manually install PIPPackageInstallationPlugin since install.sql content is not escaped resulting