Browse Source

Minor - fix php warning

Julio 5 năm trước cách đây
mục cha
commit
6992fbc7f1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/gradebook/lib/be/studentpublicationlink.class.php

+ 1 - 1
main/gradebook/lib/be/studentpublicationlink.class.php

@@ -261,7 +261,7 @@ class StudentPublicationLink extends AbstractLink
         }
 
         if ($rescount == 0) {
-            return null;
+            return [null, null];
         }
 
         switch ($type) {