Unverified Commit 3b093ccb authored by Mathieu Ferment's avatar Mathieu Ferment Committed by GitHub
Browse files

Merge pull request #25784 from kpodemski/fix/25782

Use null coalescing operator to fix notice
parents 5c86a98d 85e17de0
......@@ -3415,8 +3415,8 @@ class ProductCore extends ObjectModel
$array_tmp = [
'price' => $row['price'],
'ecotax' => $row['ecotax'],
'attribute_price' => $row['attribute_price'] ?: null,
'attribute_ecotax' => $row['attribute_ecotax'] ?: null,
'attribute_price' => $row['attribute_price'] ?? null,
'attribute_ecotax' => $row['attribute_ecotax'] ?? null,
];
self::$_pricesLevel2[$cache_id_2][(int) $row['id_product_attribute']] = $array_tmp;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment