Browse Source

显示分组里信息数量

shenzhipeng 3 years ago
parent
commit
373fff158b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/module/ctrl/User_smsgroup_adminAction.class.php

+ 1 - 1
application/module/ctrl/User_smsgroup_adminAction.class.php

@@ -27,7 +27,7 @@ class User_smsgroup_adminAction extends Action{
 		$error			= $_REQUEST['error'];
 
 		$list  = $admin->select_sms_user_group($where);
-		foreach($list as $item) {
+		foreach($list as &$item) {
 			$where .= " and group_name='{$item['name']}'";
 			$count = $admin->selectSmsCustomerCount($where);
 			$count = empty($count) ? 0  : $count;