diff --git a/module/form/form.php b/module/form/form.php index 7fc47819..b3439efd 100755 --- a/module/form/form.php +++ b/module/form/form.php @@ -163,6 +163,11 @@ class form extends common { 'redirect' => helper::baseUrl() . $this->getUrl(0) .'/data', 'state' => true ]); + } else { + $this->addOutput([ + 'notification' => 'Aucune donnée à exporter', + 'redirect' => helper::baseUrl() . $this->getUrl(0) .'/data' + ]); } }