cvs: pear-core / PEAR.php

From: Date: Sat, 25 Mar 2006 20:52:24 +0000
Subject: cvs: pear-core / PEAR.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4648@lists.php.net to get a copy of this message
cellog Sat Mar 25 20:52:24 2006 UTC Modified files: /pear-core PEAR.php Log: fix notice/warning http://cvs.php.net/viewcvs.cgi/pear-core/PEAR.php?r1=1.99&r2=1.100&diff_format=u Index: pear-core/PEAR.php diff -u pear-core/PEAR.php:1.99 pear-core/PEAR.php:1.100 --- pear-core/PEAR.php:1.99 Sun Mar 5 21:13:33 2006 +++ pear-core/PEAR.php Sat Mar 25 20:52:24 2006 @@ -20,7 +20,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: PEAR.php,v 1.99 2006/03/05 21:13:33 cellog Exp $ + * @version CVS: $Id: PEAR.php,v 1.100 2006/03/25 20:52:24 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -233,7 +233,7 @@ if (!isset($properties[$class])) { $properties[$class] = array(); } - if (!array_key_exists($properties[$class][$var])) { + if (!array_key_exists($var, $properties[$class])) { $properties[$class][$var] = null; } return $properties[$class][$var];

« previous php.pear.core (#4648) next »