Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PrestaShop
PrestaShop
Commits
3b093ccb
Unverified
Commit
3b093ccb
authored
Sep 08, 2021
by
Mathieu Ferment
Committed by
GitHub
Sep 08, 2021
Browse files
Merge pull request #25784 from kpodemski/fix/25782
Use null coalescing operator to fix notice
parents
5c86a98d
85e17de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
classes/Product.php
View file @
3b093ccb
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment