diff options
author | Hans Duedal <hd@onlinecity.dk> | 2014-12-05 14:26:38 +0100 |
---|---|---|
committer | Hans Duedal <hd@onlinecity.dk> | 2014-12-05 14:26:38 +0100 |
commit | 7a87d5c7c158eabe1dc8bae26ec5d5e35357e0a0 (patch) | |
tree | f820264fa1d95d9bb2bf99721ae9ccf0ea1c8a1d | |
parent | 6466c014acb88b29b3a909a523f866953a280c7b (diff) | |
parent | e4e8ce0bbc995385089ff0db6bd3483717a31946 (diff) | |
download | php-smpp-origin/develop.zip php-smpp-origin/develop.tar.gz php-smpp-origin/develop.tar.bz2 |
Merge pull request #36 from gpedic/patch-1origin/develop
Fix CSMS not working with CSMS_16BIT_TAGS
-rw-r--r-- | smppclient.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smppclient.class.php b/smppclient.class.php index 5221c61..41b6f74 100644 --- a/smppclient.class.php +++ b/smppclient.class.php @@ -300,7 +300,7 @@ class SmppClient // Figure out if we need to do CSMS, since it will affect our PDU if ($msg_length > $singleSmsOctetLimit) { $doCsms = true; - if (!self::$csms_method != SmppClient::CSMS_PAYLOAD) { + if (self::$csms_method != SmppClient::CSMS_PAYLOAD) { $parts = $this->splitMessageString($message, $csmsSplit, $dataCoding); $short_message = reset($parts); $csmsReference = $this->getCsmsReference(); |