summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgpedic <gpedic@gmail.com>2014-12-05 14:01:38 +0100
committergpedic <gpedic@gmail.com>2014-12-05 14:01:38 +0100
commite4e8ce0bbc995385089ff0db6bd3483717a31946 (patch)
treef820264fa1d95d9bb2bf99721ae9ccf0ea1c8a1d
parent6466c014acb88b29b3a909a523f866953a280c7b (diff)
downloadphp-smpp-e4e8ce0bbc995385089ff0db6bd3483717a31946.zip
php-smpp-e4e8ce0bbc995385089ff0db6bd3483717a31946.tar.gz
php-smpp-e4e8ce0bbc995385089ff0db6bd3483717a31946.tar.bz2
Fix CSMS with CSMS_16BIT_TAGS not working
-rw-r--r--smppclient.class.php2
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();