diff options
author | Hans Duedal <hd@onlinecity.dk> | 2011-03-26 00:14:12 +0100 |
---|---|---|
committer | Hans Duedal <hd@onlinecity.dk> | 2011-03-26 00:14:12 +0100 |
commit | 27543c831abf19c819234812ba45a3c0606fe405 (patch) | |
tree | 82978bafc7de5a6f1439e441888ca0c7fba7ae0d | |
parent | 208b8fa87bf0f511ff2a308bc0a8dd9b8a6ef2b9 (diff) | |
parent | 9197b6df55f7fc49eb28373f9e762c58897f15e8 (diff) | |
download | php-smpp-27543c831abf19c819234812ba45a3c0606fe405.zip php-smpp-27543c831abf19c819234812ba45a3c0606fe405.tar.gz php-smpp-27543c831abf19c819234812ba45a3c0606fe405.tar.bz2 |
Merge branch 'develop'
-rw-r--r-- | gateway/protocol/smppclient.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/protocol/smppclient.class.php b/gateway/protocol/smppclient.class.php index 38a4479..6c4de5b 100644 --- a/gateway/protocol/smppclient.class.php +++ b/gateway/protocol/smppclient.class.php @@ -228,7 +228,7 @@ class SmppClient if ($doCsms) { if (self::$sms_use_msg_payload_for_csms) { $payload = new \SMPP\Tag(\SMPP\Tag::MESSAGE_PAYLOAD, $message, $msg_length); - return $this->submit_sm($from, $to, null, (empty($tags) ? $payload : array_merge($tags,$payload)), $dataCoding); + return $this->submit_sm($from, $to, null, (empty($tags) ? array($payload) : array_merge($tags,$payload)), $dataCoding); } else { $sar_msg_ref_num = new \SMPP\Tag(\SMPP\Tag::SAR_MSG_REF_NUM, $csmsReference, 2, 'n'); $sar_total_segments = new \SMPP\Tag(\SMPP\Tag::SAR_TOTAL_SEGMENTS, count($parts), 1, 'c'); |