fix successfully sent message
This commit is contained in:
parent
d84983001f
commit
55bf8b9eab
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user