Browse Source

提交数据

lvhao 14 giờ trước cách đây
mục cha
commit
b8cc6cfb8f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      core/CoreApp/libraries/Common.php

+ 3 - 0
core/CoreApp/libraries/Common.php

@@ -56,6 +56,9 @@ $this->ci = &get_instance();
 	$where = " status = 0 ";
 	
 	$where .= " and id in  (".implode(",",$usersp).") ";
+	if(empty($order)){
+		$order = "id asc";
+	}
 	
     $result = $this->ci->shop->find_all($where,'*',$order,0,$num);