Permalink
Browse files

fix PEAR5 useage BC break

  • Loading branch information...
1 parent 20e53bd commit cdd6c416d241e0023f22b2a03194769e26534d11 @roojs roojs committed Apr 13, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 HTML/Template/Flexy.php
@@ -236,8 +236,7 @@ function HTML_Template_Flexy( $options=array() )
if (class_exists('PEAR5',false)) {
$baseoptions = &PEAR5::getStaticProperty('HTML_Template_Flexy','options');
}
- else
- if (class_exists('PEAR')) {
+ if (empty($baseoptions) && class_exists('PEAR')) {
$baseoptions = &PEAR::getStaticProperty('HTML_Template_Flexy','options');
}
if ($baseoptions ) {

0 comments on commit cdd6c41

Please sign in to comment.