diff --git a/app/Mail/SupportMessageSent.php b/app/Mail/SupportMessageSent.php index 5e513c9eb015..709c9058ee26 100644 --- a/app/Mail/SupportMessageSent.php +++ b/app/Mail/SupportMessageSent.php @@ -63,9 +63,9 @@ class SupportMessageSent extends Mailable $db = str_replace("db-ninja-", "", $company->db); if(Ninja::isHosted()) - $subject = "{$priority}Hosted-{$company->db} :: {$plan} :: ".date('M jS, g:ia'); + $subject = "{$priority}Hosted-{$db} :: {ucfirst($plan)} :: ".date('M jS, g:ia'); else - $subject = "{$priority}Self Hosted :: {$plan} :: ".date('M jS, g:ia'); + $subject = "{$priority}Self Hosted :: {ucfirst($plan)} :: ".date('M jS, g:ia'); return $this->from(config('mail.from.address'), $user->present()->name()) ->replyTo($user->email, $user->present()->name())