Browse Source

Minor - fix php warning

Julio 5 years ago
parent
commit
6992fbc7f1
1 changed files with 1 additions and 1 deletions
  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) {