cvs: pear-core(PEAR_1_4) /PEAR/Command Config.php
| From: | Pierre-Alain Joye | Date: | Sun, 04 Jun 2006 12:11:39 +0000 |
| Subject: | cvs: pear-core(PEAR_1_4) /PEAR/Command Config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4767@lists.php.net to get a copy of this message | ||
pajoye Sun Jun 4 12:11:39 2006 UTC
Modified files: (Branch: PEAR_1_4)
/pear-core/PEAR/Command Config.php
Log:
- silent notice
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Config.php?r1=1.51&r2=1.51.2.1&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.51.2.1
--- pear-core/PEAR/Command/Config.php:1.51 Thu Mar 2 13:32:38 2006
+++ pear-core/PEAR/Command/Config.php Sun Jun 4 12:11:39 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.51.2.1 2006/06/04 12:11:39 pajoye 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");
}