lvhao 1 月之前
父節點
當前提交
6c9aa18202
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/controllers/Colour.php

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

@@ -409,7 +409,7 @@ class Colour extends Start_Controller {
 			$timetj = $this->input->post('timetj',true);
 			$timetj = $this->input->post('timetj',true);
 			$timetk = strtotime($timetk);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$timetj = strtotime($timetj);
-			$where = "(".rtrim($fgshop,'or').")";
+			$where = " 1 = 1 ";
 			if($number)
 			if($number)
             {
             {
                 $where  .= " and number like '%$number%'";
                 $where  .= " and number like '%$number%'";