diff --git a/gestion/lib/Controller/PageController.php b/gestion/lib/Controller/PageController.php index aaa8a36..b07dc12 100644 --- a/gestion/lib/Controller/PageController.php +++ b/gestion/lib/Controller/PageController.php @@ -2559,9 +2559,6 @@ class PageController extends Controller { return ""; } $exportData = $this->myDb->getExportThanatoStatisticData($thanatoIdsToExport); - if(empty($exportData)){ - return ""; - } try{ $current_config = json_decode($this->myDb->getConfiguration($this->idNextcloud)); $clean_folder = html_entity_decode($current_config[0]->path).'/'; @@ -2597,9 +2594,6 @@ class PageController extends Controller { return ""; } $exportData = $this->myDb->getExportClientStatData($clientIdsToExport); - if(empty($exportData)){ - return ""; - } try{ $current_config = json_decode($this->myDb->getConfiguration($this->idNextcloud)); $clean_folder = html_entity_decode($current_config[0]->path).'/';