In user notification use the username part of the email address if customer has no name - closes #749
This commit is contained in:
@@ -101,7 +101,7 @@ class SendNotificationToUsers implements ShouldQueue
|
||||
// If this is notification on message from customer, set customer as sender name
|
||||
$from_name = '';
|
||||
if ($last_thread->type == Thread::TYPE_CUSTOMER) {
|
||||
$from_name = $last_thread->customer->getFullName();
|
||||
$from_name = $last_thread->customer->getFullName(true, true);
|
||||
if ($from_name) {
|
||||
$from_name = $from_name.' '.__('via').' '.$mailbox->name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user