input file pas obligatoire

This commit is contained in:
Fred Tempez 2022-02-09 16:19:17 +01:00
parent 33ba0bef22
commit 72c5bbc836
1 changed files with 1 additions and 1 deletions

View File

@ -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 ];