Fixed: added escape in the csv functions to fix the deprication n warnings

This commit is contained in:
vishalsingh.qlo325
2025-06-16 17:00:45 +05:30
parent 3d1bf60f7f
commit 754f108fc0
2 changed files with 3 additions and 3 deletions

View File

@@ -1198,7 +1198,7 @@ class AdminControllerCore extends Controller
}
}
fputcsv($fd, $headers, ';', $text_delimiter, '\\');
fputcsv($fd, $headers, ';', $text_delimiter, escape: "");
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, escape: "");
}
@fclose($fd);