cvs: pear-core /PEAR/Command Config.php
| From: | Greg Beaver | Date: | Sun, 05 Mar 2006 21:32:47 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4616@lists.php.net to get a copy of this message | ||
cellog Sun Mar 5 21:32:47 2006 UTC
Modified files:
/pear-core/PEAR/Command Config.php
Log:
remove err suppression @
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Config.php?r1=1.51&r2=1.52&diff_format=u
Index: pear-core/PEAR/Command/Config.php
diff -u pear-core/PEAR/Command/Config.php:1.51 pear-core/PEAR/Command/Config.php:1.52
--- pear-core/PEAR/Command/Config.php:1.51 Thu Mar 2 13:32:38 2006
+++ pear-core/PEAR/Command/Config.php Sun Mar 5 21:32:47 2006
@@ -16,7 +16,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: Config.php,v 1.51 2006/03/02 13:32:38 pajoye Exp $
+ * @version CVS: $Id: Config.php,v 1.52 2006/03/05 21:32:47 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -248,7 +248,7 @@
$failmsg .= "config-set expects 2 or 3 parameters";
return PEAR::raiseError($failmsg);
}
- if ($error = $this->_checkLayer(@$params[2])) {
+ if (isset($params[2]) && ($error = $this->_checkLayer($params[2]))) {
$failmsg .= $error;
return PEAR::raiseError("config-set:$failmsg");
}