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

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

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