xialei пре 1 година
родитељ
комит
9b092afecc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common/repositories/store/order/StoreOrderRepository.php

+ 1 - 1
app/common/repositories/store/order/StoreOrderRepository.php

@@ -4987,7 +4987,7 @@ class StoreOrderRepository extends BaseRepository
4987 4987
 
4988 4988
             if ($v['fzone_paytype']) {
4989 4989
                 $list[$k]['fzone_paytype'] = json_decode($v['fzone_paytype'], true);
4990
-                if (!count($list[$k]['fzone_paytype'])) {
4990
+                if (!$list[$k]['fzone_paytype'] || !count($list[$k]['fzone_paytype'])) {
4991 4991
                     $list[$k]['fzone_paytype'] = null;
4992 4992
                 }
4993 4993
             } else {