Permalink
Browse files

$result instead of $r

  • Loading branch information...
1 parent 5b5180f commit a8f9cf787b772dc9ed26a59383eaf0d88d431386 @remidewitte remidewitte committed Mar 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
}
/**

0 comments on commit a8f9cf7

Please sign in to comment.