Fixed: Undefined variable in the admin stats while trying to export the data using the CSV export.

This commit is contained in:
Amit sharma
2025-12-18 16:59:06 +05:30
committed by azhar bhat
parent 6840fcb7e8
commit 825160327d

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) {