cvs: php4 /pear/HTML Common.php
| From: | Adam Daniel | Date: | Fri, 23 Mar 2001 01:11:59 +0000 |
| Subject: | cvs: php4 /pear/HTML Common.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4798@lists.php.net to get a copy of this message | ||
adaniel Thu Mar 22 17:11:59 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
removed the pass by reference on the second parameter of _updateAttrArray
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.3 php4/pear/HTML/Common.php:1.4
--- php4/pear/HTML/Common.php:1.3 Thu Mar 22 07:27:07 2001
+++ php4/pear/HTML/Common.php Thu Mar 22 17:11:59 2001
@@ -16,7 +16,7 @@
// | Authors: Adam Daniel <adaniel1@eesus.jnj.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.3 2001/03/22 15:27:07 mj Exp $
+// $Id: Common.php,v 1.4 2001/03/23 01:11:59 adaniel Exp $
/**
* Base class for all HTML classes
@@ -129,11 +129,11 @@
/**
* Updates the attributes in $attr1 with the values in $attr2 without changing the other
existing attributes
* @param array $attr1 Original attributes array
- * @param array $attr2 New attrbiutes array
+ * @param array $attr2 New attributes array
* @access private
* @return array
*/
- function _updateAttrArray(&$attr1, &$attr2)
+ function _updateAttrArray(&$attr1, $attr2)
{
while (list($key, $value) = each($attr2)) {
if (!is_int($key)) {