mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix crash in activity panel when entry user is unknown
This commit is contained in:
@@ -275,9 +275,9 @@ class ActivityEntry extends UIBlock
|
||||
/**
|
||||
* Return true if the current user is the author of the activity entry
|
||||
*
|
||||
* @return bool
|
||||
* @return bool|null Can be null depending on the source of creation of the entry
|
||||
*/
|
||||
public function IsFromCurrentUser(): bool
|
||||
public function IsFromCurrentUser(): ?bool
|
||||
{
|
||||
return $this->bIsFromCurrentUser;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user