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 <[EMAIL PROTECTED]> |
// +----------------------------------------------------------------------+
//
-// $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)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]