Fix delete session

pull/4020/head
Julio 3 years ago
parent b58425990d
commit 55537dd84b
  1. 6
      public/main/inc/lib/sessionmanager.lib.php

@ -1688,9 +1688,11 @@ class SessionManager
}
});
if (!empty($deleteCoachList)) {
if ($deleteCoachList->count() > 0) {
foreach ($deleteCoachList as $subscription) {
$em->remove($subscription);
if (null !== $subscription) {
$em->remove($subscription);
}
}
}
}

Loading…
Cancel
Save