diff --git a/ecrire/inc_logos.php3 b/ecrire/inc_logos.php3 index 6cba94a9cbcbd05d9b8277094d6584630364c361..2402b8cccf031ebfee4bf3e241ded419b4abc656 100644 --- a/ecrire/inc_logos.php3 +++ b/ecrire/inc_logos.php3 @@ -455,7 +455,8 @@ function reduire_image_logo($img, $taille = -1, $taille_y = -1) { $attributs .= ' name="'.entites_html($name).'"'; $attributs_alt = ' alt="'.entites_html($name).'"'; } - if ($alt = extraire_attribut($img, 'alt')) + // si un alt (meme vide) etait present, le recuperer + if (($alt = extraire_attribut($img, 'alt')) !== NULL) $attributs_alt = ' alt="'.entites_html($alt).'"'; $attributs .= $attributs_alt;