logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pear-core / PEAR.php: msg#00069

Subject: cvs: pear-core / PEAR.php
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@xxxxxxx>
  * @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];

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>