Session: Fix user repartition by language to only consider students - refs BT#21908

pull/5787/head
NicoDucou 1 year ago
parent 742826c797
commit 41fe2d2493
  1. 2
      public/main/inc/lib/sessionmanager.lib.php

@ -702,7 +702,7 @@ class SessionManager
0,
true
);
$usersLang = self::getCountUsersLangBySession($session['id']);
$usersLang = self::getCountUsersLangBySession($session['id'], api_get_current_access_url_id(), Session::STUDENT);
$tooltipUserLangs = '';
if (!empty($usersLang)) {
$tooltipUserLangs = implode(' | ', $usersLang);

Loading…
Cancel
Save