]> git.llucax.com Git - mecon/meconlib.git/commitdiff
Se arregla un bug.
authorLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jul 2003 18:50:05 +0000 (18:50 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jul 2003 18:50:05 +0000 (18:50 +0000)
pear_lib_tmp/HTML/Image.php

index 5c9df5b2f3fd827fe980c1db9482673a1e43a383..d0aa40efbf5361bd8994df9324f23f1327976bb5 100644 (file)
@@ -102,7 +102,7 @@ class HTML_Image extends HTML_Common {
      */
     function setSrc($src)// ~X2C
     {
      */
     function setSrc($src)// ~X2C
     {
-        $this->updateAttributes('src' => $src);
+        $this->updateAttributes(array('src' => $src));
     }
     // -X2C
 
     }
     // -X2C
 
@@ -130,7 +130,7 @@ class HTML_Image extends HTML_Common {
      */
     function setAlt($alt)// ~X2C
     {
      */
     function setAlt($alt)// ~X2C
     {
-        $this->updateAttributes('alt' => $alt);
+        $this->updateAttributes(array('alt' => $alt));
     }
     // -X2C
 
     }
     // -X2C