several bugfixes

This commit is contained in:
2024-04-10 13:04:37 -04:00
parent 72d2850e83
commit a238ad3b7f
8 changed files with 22 additions and 11 deletions

View File

@@ -585,4 +585,9 @@ abstract class Request {
return $classes;
}
protected function logUserId(): string {
$currentUser = $this->context->getUser();
return $currentUser ? "userId='" . $currentUser->getId() . "'" : "SYSTEM";
}
}