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

@@ -53,6 +53,9 @@ class PrestaShopLoggerCore extends ObjectModel
/** @var string Object last modification date */
public $date_upd;
/** @var string|null */
public $hash;
/**
* @see ObjectModel::$definition
*/
@@ -125,7 +128,7 @@ class PrestaShopLoggerCore extends ObjectModel
$log->object_id = (int)$object_id;
}
if ($object_type != 'Swift_Message') {
if ($object_type != 'MailerMessage') {
PrestaShopLogger::sendByMail($log);
}