Skip to content
Browse files

fix PEAR5 usage BC break

  • Loading branch information...
1 parent cdd6c41 commit 6ddfcbf84455b5126f7c0e6a8d01bf23c2130fbe @roojs roojs committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 HTML/Template/Flexy/Translator.php
View
2 HTML/Template/Flexy/Translator.php
@@ -110,7 +110,7 @@ function HTML_Template_Flexy_Translator($options= array()) {
if (class_exists('PEAR5',false)) {
$o = PEAR5::getStaticProperty('HTML_Template_Flexy','options');
}
- else {
+ if (empty($o)) {
$o = PEAR::getStaticProperty('HTML_Template_Flexy','options');
}
if (!strlen($this->options['templateDir'])) {

0 comments on commit 6ddfcbf

Please sign in to comment.
Something went wrong with that request. Please try again.