Fix allow delete session to platform admin when he is different of session_admin_id - refs BT#11141

remotes/angel/1.11.x
Angel Fernando Quiroz Campos 9 years ago
parent 88842fd706
commit 1d609c992d
  1. 2
      main/inc/lib/sessionmanager.lib.php

@ -1496,7 +1496,7 @@ class SessionManager
$res = $qb->getSingleScalarResult();
if ($res != $userId) {
if ($res != $userId && !api_is_platform_admin()) {
api_not_allowed(true);
}
}

Loading…
Cancel
Save