bug clé de fonte vide

This commit is contained in:
Fred Tempez 2022-04-17 14:30:06 +02:00
parent 82e73a3383
commit a3c1dc32ad

View File

@ -1130,7 +1130,7 @@ class theme extends common {
$f ['websafe'] = self::$fontsWebSafe;
// Construit un tableau avec leur ID et leur famille
foreach(['websafe', 'imported', 'files'] as $type) {
if(is_array($f[$type])) {
if (is_array($f[$type])) {
foreach ($f[$type] as $fontId => $fontValue ) {
$fonts [$fontId] = $fontValue['name'];
}