lvhao 1 일 전
부모
커밋
15672409a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/CoreApp/controllers/Colour.php

+ 1 - 1
core/CoreApp/controllers/Colour.php

@@ -508,7 +508,7 @@ class Colour extends Start_Controller {
 		    $rows = array('total'=>$total,'over'=>$over,'pagenum'=>$pagenum,'rows'=>($info_list));
 		    echo json_encode($rows);exit;
 		}
-		$wlshop = $this->shop->find_all('1=1 and '.rtrim($sid,'or'));
+		$wlshop = $this->shop->find_all('id > 0 ');
 		$this->data['wlshop'] = $wlshop;
 		$warehouse = $this->warehouse->find_all('1=1 and '.rtrim($wid,'or'),"*","px asc");
 		$this->data['warehouse'] = $warehouse;