From bf447031eb4f7509b166d3b1a8cd3fc7541dfb58 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 17 Apr 2022 14:29:47 +0200 Subject: [PATCH] =?UTF-8?q?bug=20cl=C3=A9=20de=20fonte=20vide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 562dfec8..edaff96c 100644 --- a/core/module/theme/theme.php +++ b/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']; }