From 72c5bbc836445f67e2e88eedbf975ef947e98339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 9 Feb 2022 16:19:17 +0100 Subject: [PATCH] input file pas obligatoire --- 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 e1c7a79c..a700534d 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -603,7 +603,7 @@ class theme extends common { if ($this->isPost()) { $fontId = $this->getInput('fontAddFontId', null, true); $fontName = $this->getInput('fontAddFontName', null, true); - $filePath = $this->getInput('fontAddFile', null, true); + $filePath = $this->getInput('fontAddFile', null); $e = explode ('/', $filePath); $file = $e[count($e) - 1 ];