summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgpedic <gpedic@gmail.com>2014-12-05 14:01:38 +0100
committerHans Duedal <hd@onlinecity.dk>2014-12-05 14:29:54 +0100
commitb78ff21f391f97ce33d9789555db653bc7d8a4af (patch)
treee7ff73eac352c2c3c1556cde54a66e3ad90df1e4
parent2b62a417ef6dd70b7741d2df9287a596b7e0128c (diff)
downloadphp-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.php2
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();