Przeglądaj źródła

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

jmontoyaa 7 lat temu
rodzic
commit
acd6897476
1 zmienionych plików z 1 dodań i 1 usunięć
  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,