This commit is contained in:
paoloar77
2025-01-28 18:08:10 +01:00
parent 9024d69782
commit e1d40e4f25

View File

@@ -1030,7 +1030,7 @@ class ArticleFormatter
'quantity' => $quantity, 'quantity' => $quantity,
'price' => $price, 'price' => $price,
'color' => $quantity <= 0 ? 'red' : 'green', 'color' => $quantity <= 0 ? 'red' : 'green',
'permalink' => $product['permalink'] 'permalink' => isset($product['permalink']) ? $product['permalink'] : ''
]; ];
} }