diff options
author | gpedic <gpedic@gmail.com> | 2014-12-05 14:01:38 +0100 |
---|---|---|
committer | Hans Duedal <hd@onlinecity.dk> | 2014-12-05 14:29:54 +0100 |
commit | b78ff21f391f97ce33d9789555db653bc7d8a4af (patch) | |
tree | e7ff73eac352c2c3c1556cde54a66e3ad90df1e4 | |
parent | 2b62a417ef6dd70b7741d2df9287a596b7e0128c (diff) | |
download | php-smpp-b78ff21f391f97ce33d9789555db653bc7d8a4af.zip php-smpp-b78ff21f391f97ce33d9789555db653bc7d8a4af.tar.gz php-smpp-b78ff21f391f97ce33d9789555db653bc7d8a4af.tar.bz2 |
Fix CSMS with CSMS_16BIT_TAGS not working
-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 a502db0..7732471 100644 --- a/smppclient.class.php +++ b/smppclient.class.php @@ -301,7 +301,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(); |