소스 검색

显示分组里信息数量

shenzhipeng 3 년 전
부모
커밋
373fff158b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;