[9.2.22] aperçu des polices fix

This commit is contained in:
Fred Tempez 2020-02-18 15:26:55 +01:00
parent 01c71be0be
commit 12b8bf2ca5

View File

@ -3205,7 +3205,7 @@ class template {
$html .= $attributes['fonts'] === true ? sprintf( $html .= $attributes['fonts'] === true ? sprintf(
'<option value="%s"%s style="font-family:%s;">%s</option>', '<option value="%s"%s style="font-family:%s;">%s</option>',
$value, $value,
$attributes['selected'] == str_replace('+',' ',$value) ? ' selected' : '', // Double == pour ignorer le type de variable car $_POST change les types en string $attributes['selected'] == $value ? ' selected' : '', // Double == pour ignorer le type de variable car $_POST change les types en string
str_replace('+',' ',$value), str_replace('+',' ',$value),
$text $text
) : sprintf( ) : sprintf(