fix successfully sent message

This commit is contained in:
Daniel Seifert 2023-01-12 23:04:50 +01:00
parent d84983001f
commit 55bf8b9eab
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class AdminOrder extends AdminController
{
$sms = $this->getSms($this->getMessageBody());
return $sms->sendOrderMessage($this->item) ?
(string) $this->getSuccessSentMessage($sms) :
$this->getSuccessSentMessage($sms)->getMessage() :
$this->getUnsuccessfullySentMessage($sms);
}

View File

@ -68,7 +68,7 @@ class AdminUser extends AdminController
{
$sms = $this->getSms($this->getMessageBody());
return $sms->sendUserAccountMessage($this->item) ?
(string) $this->getSuccessSentMessage($sms) :
$this->getSuccessSentMessage($sms)->getMessage() :
$this->getUnsuccessfullySentMessage($sms);
}