root 5 anni fa
parent
commit
e6df6be237
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      addons/zh_jdgjb/inc/web/order.inc.php

+ 1 - 2
addons/zh_jdgjb/inc/web/order.inc.php

xqd
@@ -48,8 +48,7 @@ if($operation=='delete'){
 	}
 }
 if($operation=='cancelOverdue'){
-    $res=pdo_update('zh_jdgjb_order',array('is_out_time'=>0,'status'=>5),array('id'=>$_GPC['id']));
-    print_r(pdo_debug());die;
+    $res=pdo_update('zh_jdgjb_order',array('is_out_time'=>0,'status'=>5),array('id'=>$_GPC['order_id']));
     if($res){
         message('入住成功',$this->createWebUrl('order',array()),'success');
     }else{