cvs: pear /Image_Graph/Graph Common.php
| From: | Jesper Veggerby Hansen | Date: | Mon, 21 Nov 2005 19:20:13 +0000 |
| Subject: | cvs: pear /Image_Graph/Graph Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36430@lists.php.net to get a copy of this message | ||
nosey Mon Nov 21 14:20:13 2005 EDT
Modified files:
/pear/Image_Graph/Graph Common.php
Log:
Fixed Bug #6024 "Undefined variable: parameters"
http://cvs.php.net/diff.php/pear/Image_Graph/Graph/Common.php?r1=1.14&r2=1.15&ty=u
Index: pear/Image_Graph/Graph/Common.php
diff -u pear/Image_Graph/Graph/Common.php:1.14 pear/Image_Graph/Graph/Common.php:1.15
--- pear/Image_Graph/Graph/Common.php:1.14 Wed Oct 5 16:51:21 2005
+++ pear/Image_Graph/Graph/Common.php Mon Nov 21 14:20:09 2005
@@ -23,7 +23,7 @@
* @author Jesper Veggerby <pear.nosey@veggerby.dk>
* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Common.php,v 1.14 2005/10/05 20:51:21 nosey Exp $
+ * @version CVS: $Id: Common.php,v 1.15 2005/11/21 19:20:09 nosey Exp $
* @link http://pear.php.net/package/Image_Graph
*/
@@ -244,6 +244,9 @@
foreach ($params as $name => $key) {
if (isset($parameters)) {
$parameters .= ' ';
+ }
+ else {
+ $parameters = '';
}
$parameters .= $name . '=' . $key;
}