Skip to content

Commit

Permalink
Fix getFullName() on null in Conversation.php - closes #4540
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Jan 31, 2025
1 parent fbcd179 commit 34b910b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Conversation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1082,8 +1082,10 @@ public function getAssigneeName($ucfirst = false, $user = null)
} else {
return __('me');
}
} else {
} elseif ($this->user) {
return $this->user->getFullName();
} else {
return '';
}
}

Expand Down

0 comments on commit 34b910b

Please sign in to comment.