hot fix export thanato stat

This commit is contained in:
Tiavina 2025-02-10 21:01:39 +03:00
parent 9ce8583d85
commit c3d09507b9

View File

@ -70,7 +70,7 @@ class ExportThanatoStatisticService {
return null;
}
$exportData = $this->gestionBdd->getExportThanatoStatisticData($thanatoId,$month,$year);
if($exportData){
if(empty($exportData)){
return null;
}
$defaultConfig = json_decode($this->gestionBdd->getConfiguration(BddConstant::DEFAULT_ADMIN_ID_NEXTCLOUD));