Fixing counter when using session id see BT#8892

1.9.x
Julio Montoya 11 years ago
parent 2910bf0290
commit d91b21d215
  1. 3
      main/work/work.lib.php

@ -2892,7 +2892,7 @@ function getStudentSubscribedToWork(
$sessionId,
null,
null,
STUDENT,
0,
$getCount
);
} else {
@ -2908,6 +2908,7 @@ function getStudentSubscribedToWork(
if (ADD_DOCUMENT_TO_WORK == true) {
$usersInWork = getAllUserToWork($workId, $courseId, $getCount);
if (empty($usersInWork)) {
return $usersInCourse;
} else {

Loading…
Cancel
Save