Skip to content

Commit

Permalink
$result instead of $r
Browse files Browse the repository at this point in the history
  • Loading branch information
remidewitte committed Mar 8, 2013
1 parent 5b5180f commit a8f9cf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Log/Engine/FileLog.php
Expand Up @@ -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;
Expand All @@ -150,7 +150,7 @@ public function write($type, $message) {
array($pathname, $this->_config['mask'])), E_USER_WARNING);
$selfError = false;
}
return $r;
return $result;
}

/**
Expand Down

0 comments on commit a8f9cf7

Please sign in to comment.