You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solución: Cambiar esta variable en este punto por otro nombre distinto, por ejemplo $aAttr
$aAttr = array(
'id' => $this->id . 'preview',
'class' => 'media-preview',
'style' => $style,
);
$img = JHtml::image($src, JText::('JLIB_FORM_MEDIA_PREVIEW_ALT'), $aAttr);
The text was updated successfully, but these errors were encountered:
Thanks for the report. This has been fixed in master.
I could deduce the meaning of your report because I had already fixed the bug but in the future please keep reports in english - that way more developers will be able to read the report and you have a higher chance of the bug being fixed.
Thanks @realityking for you effort in understanding spanish ^_^
Gracias @angelbupr por reportar el error. Cómo dice Rouven, en github habría que hacer los reportes en inglés para que otros programadores de todo el mundo puedan entender los reportes. En cualquier caso gracias de nuevo por tu excelente aportación, y si tienes otras aportaciones contacta conmigo ( en twitter @javi_gomez ) y te ayudo a traducir el texto.
Error en algunas pantallas
PHP Notice: Array to string conversion in ../libraries/cms/form/field/media.php on line 197
Esto se debe a que se está reutilizando el nombre de la variable $attr como array cuando ya estaba definida como string en la línea 167 de media.php.
Solución: Cambiar esta variable en este punto por otro nombre distinto, por ejemplo $aAttr
$aAttr = array(
'id' => $this->id . 'preview',
'class' => 'media-preview',
'style' => $style,
);
$img = JHtml::image($src, JText::('JLIB_FORM_MEDIA_PREVIEW_ALT'), $aAttr);
The text was updated successfully, but these errors were encountered: