From 6218f133832c0c154ee63836011ede201d2e0f4c Mon Sep 17 00:00:00 2001 From: Philipp Frischmuth Date: Thu, 11 Jul 2013 10:40:43 +0200 Subject: [PATCH] Initialize $writer variable to prevent warning in strict mode --- application/Bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/Bootstrap.php b/application/Bootstrap.php index 5109cc3ac..af43248a2 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -315,6 +315,7 @@ public function _initLogger() // Check whether log can be created with $logName... otherwise append a number. // This needs to be done, since logs may be created by other processes (e.g. with // testing) and thus can't be opened anymore. + $writer = null; for ($i = 0; $i < 10; ++$i) { try { $fullLogName = $logName;