zgg 2 dni temu
rodzic
commit
c67fedf6ab
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      application/common/model/PhOrders.php

+ 1 - 0
application/common/model/PhOrders.php

@@ -498,6 +498,7 @@ class PhOrders extends Base
                 ->where('order_id',$v['order_id'])
                 ->where('order_id',$v['order_id'])
                 ->where('user_id',$v['user_id'])
                 ->where('user_id',$v['user_id'])
                 ->where('id','<>',$data['id'])
                 ->where('id','<>',$data['id'])
+                ->where('status',1)
                 ->select();
                 ->select();
             if(count($todos) >=1){
             if(count($todos) >=1){
                 foreach ($todos as $kk=>$vv){
                 foreach ($todos as $kk=>$vv){