From 71fa796487b826059b4ba490364c3d2f9ca0a57e Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 28 Jan 2025 18:04:39 +0100 Subject: [PATCH] aa --- app/CustomFuncPao.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index b2bb7cf3..32768738 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -1013,7 +1013,6 @@ class ArticleFormatter $quantity = intval($product['stock_quantity']); } - $price = '0'; if (isset($product['price'])) { $price = $product['price']; } @@ -1021,8 +1020,8 @@ class ArticleFormatter $price = $product['sale_price']; } - } catch (e) { - + } catch (Exception $e) { + echo $e->getMessage(); } return [