From: Gonzalo Merayo Date: Tue, 1 Jul 2003 14:16:21 +0000 (+0000) Subject: Cuando se llamaba a HTML_Image::updateAttributes se estaban pasando mal los atributos. X-Git-Tag: svn_import~432 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/7d389f3e6a1c4d4176bbab8c199b496be9cabe0a Cuando se llamaba a HTML_Image::updateAttributes se estaban pasando mal los atributos. --- diff --git a/lib/MECON/Marco/ImagenAnimada.php b/lib/MECON/Marco/ImagenAnimada.php index a2b01c9..2e22315 100644 --- a/lib/MECON/Marco/ImagenAnimada.php +++ b/lib/MECON/Marco/ImagenAnimada.php @@ -195,7 +195,7 @@ class ImagenAnimada { { $img = new HTML_Image(array('name' => $this->getName(), 'border' => 0)); $src = $this->getSeleccionada() ? $this->_imgSelect : $this->_imgComun; - $img->updateAttributes('src' => $src); + $img->updateAttributes(array ('src' => $src) ); $html = $img->toHtml(); if ($this->getHabilitada()) { if ($this->getSeleccionada()) {