From a8f9cf787b772dc9ed26a59383eaf0d88d431386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Dewitte?= Date: Fri, 8 Mar 2013 15:54:41 +0100 Subject: [PATCH] $result instead of $r --- lib/Cake/Log/Engine/FileLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Log/Engine/FileLog.php b/lib/Cake/Log/Engine/FileLog.php index 0e86de54858..c069f36c73a 100644 --- a/lib/Cake/Log/Engine/FileLog.php +++ b/lib/Cake/Log/Engine/FileLog.php @@ -141,7 +141,7 @@ public function write($type, $message) { } $exists = file_exists($pathname); - $r = file_put_contents($pathname, $output, FILE_APPEND); + $result = file_put_contents($pathname, $output, FILE_APPEND); static $selfError = false; if (!$selfError && !$exists && !chmod($pathname, (int)$this->_config['mask'])) { $selfError = true; @@ -150,7 +150,7 @@ public function write($type, $message) { array($pathname, $this->_config['mask'])), E_USER_WARNING); $selfError = false; } - return $r; + return $result; } /**