From: Platonides Date: Wed, 22 Dec 2010 00:57:40 +0000 (+0000) Subject: The filename is the first parameter! X-Git-Tag: 1.31.0-rc.0~33204 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=91a55eced9237d1c26ac0780f1a3ebf8a6263ae6;p=lhc%2Fweb%2Fwiklou.git The filename is the first parameter! --- diff --git a/maintenance/fuzz-tester.php b/maintenance/fuzz-tester.php index 05c1e07816..99ff9e6641 100644 --- a/maintenance/fuzz-tester.php +++ b/maintenance/fuzz-tester.php @@ -2510,7 +2510,7 @@ function dbErrorLogged() { if ( !isset( $filesize ) ) { // create log if it does not exist if ( !file_exists( DB_ERROR_LOG_FILE ) ) { - saveFile( "", DB_ERROR_LOG_FILE ); + saveFile( DB_ERROR_LOG_FILE, '' ); } $filesize = filesize( DB_ERROR_LOG_FILE ); return false;