Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Fixes #301 - Undefined variable in Zend_Application_Resource_Translate
Browse files Browse the repository at this point in the history
  • Loading branch information
froschdesign committed Mar 28, 2014
1 parent 7884400 commit ef6c06f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions library/Zend/Application/Resource/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ public function getTranslate()

if (isset($options['log'])) {
if (is_array($options['log'])) {
$log = Zend_Log::factory($options['log']);
}
if ($log instanceof Zend_Log) {
$options['log'] = $log;
$options['log'] = Zend_Log::factory($options['log']);
}
}

Expand Down

0 comments on commit ef6c06f

Please sign in to comment.