Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix PEAR5 useage BC break

  • Loading branch information...
commit cdd6c416d241e0023f22b2a03194769e26534d11 1 parent 20e53bd
Alan Knowles roojs authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  HTML/Template/Flexy.php
3  HTML/Template/Flexy.php
@@ -236,8 +236,7 @@ function HTML_Template_Flexy( $options=array() )
236 236 if (class_exists('PEAR5',false)) {
237 237 $baseoptions = &PEAR5::getStaticProperty('HTML_Template_Flexy','options');
238 238 }
239   - else
240   - if (class_exists('PEAR')) {
  239 + if (empty($baseoptions) && class_exists('PEAR')) {
241 240 $baseoptions = &PEAR::getStaticProperty('HTML_Template_Flexy','options');
242 241 }
243 242 if ($baseoptions ) {

0 comments on commit cdd6c41

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