瀏覽代碼

Announcement group list, use iid instead if id see BT#13954

jmontoyaa 7 年之前
父節點
當前提交
acd6897476
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/inc/lib/course.lib.php

+ 1 - 1
main/inc/lib/course.lib.php

@@ -5889,7 +5889,7 @@ class CourseManager
         // adding the groups to the select form
         if ($groupList) {
             foreach ($groupList as $thisGroup) {
-                $groupId = $thisGroup['id'];
+                $groupId = $thisGroup['iid'];
                 if (is_array($alreadySelected)) {
                     if (!in_array(
                         "GROUP:".$groupId,