cvs: pear /HTML_Template_Xipe Xipe.php

From: Date: Sat, 18 Jan 2003 15:27:33 +0000
Subject: cvs: pear /HTML_Template_Xipe Xipe.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8370@lists.php.net to get a copy of this message
cain Sat Jan 18 10:27:33 2003 EDT Modified files: /pear/HTML_Template_Xipe Xipe.php Log: - prevent E_ALL warnings Index: pear/HTML_Template_Xipe/Xipe.php diff -u pear/HTML_Template_Xipe/Xipe.php:1.23 pear/HTML_Template_Xipe/Xipe.php:1.24 --- pear/HTML_Template_Xipe/Xipe.php:1.23 Fri Jan 10 14:06:40 2003 +++ pear/HTML_Template_Xipe/Xipe.php Sat Jan 18 10:27:32 2003 @@ -16,7 +16,7 @@ // | Authors: Wolfram Kriesing <wolfram@kriesing.de> | // +----------------------------------------------------------------------+ // -// $Id: Xipe.php,v 1.23 2003/01/10 19:06:40 cain Exp $ +// $Id: Xipe.php,v 1.24 2003/01/18 15:27:32 cain Exp $ // /** @@ -71,10 +71,10 @@ // just to let the constructor run once, so it can do some integrity checks (if needed) $tplClass = 'Main'; - if( $options['enable-XMLConfig'] ) + if( isset($options['enable-XMLConfig']) && $options['enable-XMLConfig'] ) $tplClass = 'XMLConfig'; - if( $options['enable-Cache'] ) // if the cache is on XMLConfig is needed, turn it on just to have the options properly set + if( isset($options['enable-Cache']) && $options['enable-Cache'] ) // if the cache is on XMLConfig is needed, turn it on just to have the options properly set { $options['enable-XMLConfig'] = true; $tplClass = 'Cache';

« previous php.pear.cvs (#8370) next »