Updated: Changes for PHP 8.x compatibility

This commit is contained in:
Sumit Panwar
2025-05-23 14:41:46 +05:30
parent fa0a498733
commit b9dbc449fe
91 changed files with 574 additions and 409 deletions

View File

@@ -251,7 +251,7 @@ class PrestaShopBackupCore
fwrite($fp, $schema[0]['Create Table'].";\n\n");
if (!in_array($schema[0]['Table'], $ignore_insert_table)) {
$data = Db::getInstance()->query('SELECT * FROM `'.$schema[0]['Table'].'`', false);
$data = Db::getInstance()->query('SELECT * FROM `'.$schema[0]['Table'].'`');
$sizeof = DB::getInstance()->NumRows();
$lines = explode("\n", $schema[0]['Create Table']);