Minor: Glossary: Flinci fix

pull/3768/head
Carlos Alvarado 4 years ago
parent f2e871b563
commit 6e715cc43d
No known key found for this signature in database
GPG Key ID: B612DB1EE6658FBB
  1. 2
      public/main/inc/lib/glossary.lib.php

@ -338,7 +338,6 @@ class GlossaryManager
$session = api_get_session_entity($sessionId);
$qb = $repo->getResourcesByCourse($course, $session);
try {
$count = $qb->select('COUNT(resource)')->getQuery()->getSingleScalarResult();
} catch (NoResultException $e) {
@ -1139,5 +1138,4 @@ class GlossaryManager
return $item1[2] < $item2[2] ? -1 : 1;
}
}

Loading…
Cancel
Save