소스 검색

no message

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

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

@@ -264,7 +264,7 @@ class Whlabelfz1 extends Start_Controller
 			if(!empty($post['sku'])){
 				$sku = trim($post['sku'], ' ');
 				$sku = trim($sku, '	');
-				$where_sql .= " and sku like '".$sku."' ";
+				$where_sql .= " and sku like '%".$sku."%' ";
 			}
 			if(!empty($post['title'])){
 				$title = trim($post['title']);