shenzhipeng 3 gadi atpakaļ
vecāks
revīzija
7b95647248

+ 3 - 2
application/module/ctrl/Sms_customer_list_adminAction.class.php

@@ -41,8 +41,9 @@ class Sms_customer_list_adminAction extends Action{
 		$tel = trim($_REQUEST['tel']);
 		$group_name = $_REQUEST['group_name'];
 
-		
-		$where.=" and tel='$tel'";
+		if(!empty($tel)) {
+			$where.=" and tel='$tel'";
+		}
 		
 
 		if(!empty($group_name)){