Skip to content
Snippets Groups Projects
Commit 2821e9bd authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix possible crash if user is not associated with a TicketUser

parent 959057f4
No related branches found
No related tags found
No related merge requests found
...@@ -55,8 +55,8 @@ implements EmailContact { ...@@ -55,8 +55,8 @@ implements EmailContact {
} }
function getId() { return $this->user->getId(); } function getId() { return ($this->user) ? $this->user->getId() : null; }
function getEmail() { return $this->user->getEmail(); } function getEmail() { return ($this->user) ? $this->user->getEmail() : null; }
function sendAccessLink() { function sendAccessLink() {
global $ost; global $ost;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment