Permalink
Browse files

sprintf arguments mixed up

  • Loading branch information...
1 parent a8f9cf7 commit 0875b84fa6d8e65e961abfb9c67631b6193c9044 @remidewitte remidewitte committed Mar 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Log/Engine/FileLog.php
@@ -147,7 +147,7 @@ public function write($type, $message) {
$selfError = true;
trigger_error(__d(
'cake_dev', 'Could not apply permission mask "%s" on log file "%s"',
- array($pathname, $this->_config['mask'])), E_USER_WARNING);
+ array($this->_config['mask'], $pathname)), E_USER_WARNING);
$selfError = false;
}
return $result;

0 comments on commit 0875b84

Please sign in to comment.