Commit 02b2f9a0 authored by Alexia's avatar Alexia
Browse files

Cast to integer.

parent 85c564d3
Pipeline #117346532 failed with stage
in 1 minute and 19 seconds
......@@ -295,7 +295,7 @@ class Notification {
public function getAgent(): ?User {
$id = $this->getAgentId();
if ($id !== null) {
$user = UserIdHelper::getUserForServiceUserId($id->whoAmI());
$user = UserIdHelper::getUserForServiceUserId(intval($id->whoAmI()));
if ($user !== null) {
return $user;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment