lizhi пре 3 месеци
родитељ
комит
9909213cde
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      protected/controllers/SchoolRelationController.php

+ 1 - 1
protected/controllers/SchoolRelationController.php

@@ -56,7 +56,7 @@ class SchoolRelationController extends Controller
                 null,
                 'id'
             );
-            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_school_follow');
+            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_school_follow', $users);
             $data['records'] = array_map(function ($item) use ($users) {
                 $item['last_user_name'] = $users[$item['last_user_id']]['username'] ?? '-';
                 return $item;