瀏覽代碼

[producer] Order : désactivation du point de vente favoris qui génère un bug (dernier point de vente non affiché)

refactoring
Guillaume Bourgeois 5 年之前
父節點
當前提交
de2f4b780a
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      producer/controllers/OrderController.php

+ 4
- 2
producer/controllers/OrderController.php 查看文件

@@ -570,7 +570,7 @@ class OrderController extends ProducerBaseController
$favoritePointSale = User::getCurrent()->getFavoritePointSale() ;
if($favoritePointSale) {
/*if($favoritePointSale) {
$newPointSaleArray = [] ;
foreach($pointsSaleArray as $pointSale) {
@@ -588,7 +588,9 @@ class OrderController extends ProducerBaseController
}
else {
$newPointSaleArray = $pointsSaleArray ;
}
}*/
$newPointSaleArray = $pointsSaleArray ;
$json['points_sale'] = $newPointSaleArray;

Loading…
取消
儲存