fix errors reported by Facebook's scheck

-controller dir
This commit is contained in:
Martin Konecny 2013-05-28 17:45:09 -04:00
parent 4ed7c4ccd3
commit 50ece038c2
4 changed files with 5 additions and 1 deletions

View file

@ -24,7 +24,7 @@ class ErrorController extends Zend_Controller_Action
}
// Log exception, if logger available
if ($log = $this->getLog()) {
if (($log = $this->getLog())) {
$log->crit($this->view->message, $errors->exception);
}