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