Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Changed wrong product key to products

givanz333a6c8f9975
diff --git a/app/component/order.php b/app/component/order.php
index 96de4e8..e23eaeb 100755
--- a/app/component/order.php
+++ b/app/component/order.php
@@ -58,9 +58,9 @@ class Order extends ComponentBase {
if ($results && $results['order']) {
$currency = Currency::getInstance();
- if (isset($results['product'])) {
- foreach ($results['product'] as $id => &$product) {
- $product['url'] = htmlentities(\Vvveb\url('product/product/index', $product + $url));
+ if (isset($results['products'])) {
+ foreach ($results['products'] as $id => &$product) {
+ $product['url'] = htmlspecialchars(\Vvveb\url('product/product/index', $product + $url));
if (isset($product['images'])) {
$product['images'] = json_decode($product['images'], true);