Browse Source

bug clé de fonte vide

12_dev
Fred Tempez 4 months ago
parent
commit
bf447031eb
  1. 2
      core/module/theme/theme.php

2
core/module/theme/theme.php

@ -1132,7 +1132,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(array_key_exists($type, $f)) {
if (is_array($f[$type])) {
foreach ($f[$type] as $fontId => $fontValue ) {
$fonts [$fontId] = $fontValue['name'];
}

Loading…
Cancel
Save