diff --git a/adm/sms_admin/sms_write_send.php b/adm/sms_admin/sms_write_send.php index 333b58c7c..f0694ece7 100644 --- a/adm/sms_admin/sms_write_send.php +++ b/adm/sms_admin/sms_write_send.php @@ -244,7 +244,7 @@ if($config['cf_sms_type'] == 'LMS') { } } else { $SMS->SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $config['cf_icode_server_port']); - $result = $SMS->Add($list, $reply, '', '', $wr_message, $booking, $wr_total); + $result = $SMS->Add2($list, $reply, '', '', $wr_message, $booking, $wr_total); if ($result) { diff --git a/plugin/sms5/sms5.lib.php b/plugin/sms5/sms5.lib.php index 175c74f36..2cceaa9bf 100644 --- a/plugin/sms5/sms5.lib.php +++ b/plugin/sms5/sms5.lib.php @@ -379,7 +379,7 @@ if($config['cf_sms_type'] == 'LMS') { break; } } - function Add($strDest, $strCallBack, $strCaller, $strURL, $strMessage, $strDate="", $nCount) { + function Add2($strDest, $strCallBack, $strCaller, $strURL, $strMessage, $strDate="", $nCount) { global $g5; $Error = $this->CheckCommonTypeDest($strDest, $nCount);