lvhao hai 1 día
pai
achega
15672409a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;