mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 16:06:15 +00:00
another syntax fix
This commit is contained in:
parent
a8ff01b999
commit
390caaac84
@ -60,7 +60,7 @@ class SmsController extends Controller {
|
|||||||
foreach ($smsDatas as &$sms) {
|
foreach ($smsDatas as &$sms) {
|
||||||
if (!array_key_exists("_id", $sms) || !array_key_exists("read", $sms) ||
|
if (!array_key_exists("_id", $sms) || !array_key_exists("read", $sms) ||
|
||||||
!array_key_exists("date", $sms) || !array_key_exists("seen", $sms) ||
|
!array_key_exists("date", $sms) || !array_key_exists("seen", $sms) ||
|
||||||
!array_key_exists("mbox", $sms) || !array_key_exists("type", $sms)
|
!array_key_exists("mbox", $sms) || !array_key_exists("type", $sms) ||
|
||||||
!array_key_exists("body", $sms) || !array_key_exists("address", $sms)) {
|
!array_key_exists("body", $sms) || !array_key_exists("address", $sms)) {
|
||||||
$this->errorMsg = "Error: bad SMS entry";
|
$this->errorMsg = "Error: bad SMS entry";
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user