Loading module/Application/src/Application/Service/Structure/StructureService.php +1 −1 Changes for module/Application/src/Application/Service/Structure/StructureService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -777,7 +777,7 @@ class StructureService extends BaseService } $logoFilepath = $this->fileService->computeLogoFilePathForStructure($structure); if ($fileExists = file_exists($logoFilepath)) { if ($fileExists = file_exists($logoFilepath) && $structure->getCheminLogo() !== null) { $ok = unlink($logoFilepath); if (! $ok) { throw new RuntimeException("Impossible de supprimer physiquement le fichier logo sur le disque."); Loading Loading
module/Application/src/Application/Service/Structure/StructureService.php +1 −1 Changes for module/Application/src/Application/Service/Structure/StructureService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -777,7 +777,7 @@ class StructureService extends BaseService } $logoFilepath = $this->fileService->computeLogoFilePathForStructure($structure); if ($fileExists = file_exists($logoFilepath)) { if ($fileExists = file_exists($logoFilepath) && $structure->getCheminLogo() !== null) { $ok = unlink($logoFilepath); if (! $ok) { throw new RuntimeException("Impossible de supprimer physiquement le fichier logo sur le disque."); Loading