Fixed: warnings while tryning to export CSVs

This commit is contained in:
vishalsingh.qlo325
2025-06-16 10:40:06 +05:30
parent faf7ab6d49
commit 3d1bf60f7f
2 changed files with 4 additions and 2 deletions

View File

@@ -1198,7 +1198,7 @@ class AdminControllerCore extends Controller
}
}
fputcsv($fd, $headers, ';', $text_delimiter);
fputcsv($fd, $headers, ';', $text_delimiter, '\\');
foreach ($this->_list as $i => $row) {
$content = array();
$path_to_image = false;
@@ -1222,7 +1222,7 @@ class AdminControllerCore extends Controller
}
$content[] = $field_value;
}
fputcsv($fd, $content, ';', $text_delimiter);
fputcsv($fd, $content, ';', $text_delimiter, '\\');
}
@fclose($fd);

View File

@@ -52,6 +52,8 @@ abstract class ModuleGridCore extends Module
/** @var ModuleGridEngine grid engine */
protected $_render;
protected $_csv;
abstract protected function getData();
public function setEmployee($id_employee)