Skip to content

Commit

Permalink
fix comparison for cart presenter
Browse files Browse the repository at this point in the history
  • Loading branch information
Stubbe committed Jul 24, 2024
1 parent a885346 commit f1d1f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clerk.php
Original file line number Diff line number Diff line change
Expand Up @@ -3455,7 +3455,7 @@ public function hookActionAdminControllerSetMedia($params)
*/
public function renderModal(Cart $cart, $id_product, $id_product_attribute)
{
if (version_compare(_PS_VERSION_, '9.0.0', '>=') === true) {
if (version_compare(_PS_VERSION_, '1.7.4', '>=') === true) {
$CartPresenter = PrestaShop\PrestaShop\Adapter\Presenter\Cart;
} else {
$CartPresenter = PrestaShop\PrestaShop\Adapter\Cart\CartPresenter;
Expand Down

0 comments on commit f1d1f50

Please sign in to comment.