Explorar el Código

显示分组里信息数量

shenzhipeng hace 3 años
padre
commit
373fff158b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;