Skip to content
Snippets Groups Projects
Unverified Commit aca488b5 authored by Pavel Vyskočil's avatar Pavel Vyskočil Committed by GitHub
Browse files

Merge pull request #41 from CESNET/dev

Fix error when user identifier is null or ''
parents 3ebaff6a 36a977c1
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,9 @@ class DatabaseCommand
private function writeLogin($date, $ids, $user)
{
if (empty($user)) {
return false;
}
$params = array_merge($ids, [
'day' => $date->format('Y-m-d'),
'logins' => 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment