Merge pull request #1611 from amitsharma322/gli-2927

Fixed: show undefined variable warning in admin stats (extra services overview tab) during csv export in the back-office.
This commit is contained in:
Rohit Jain
2026-01-24 14:04:20 +05:30
committed by GitHub

View File

@@ -159,12 +159,13 @@ abstract class ModuleGridCore extends Module
$this->setLang($context->language->id);
$this->setEmployee($context->employee->id);
$layers = isset($datas['layers']) ? $datas['layers'] : 1;
if (isset($datas['option'])) {
$this->setOption($datas['option'], $layers);
}
$this->getData();
$layers = isset($datas['layers']) ? $datas['layers'] : 1;
if (count($datas['columns'])) {
foreach ($datas['columns'] as $column) {