diff --git a/lib/icode.lms.lib.php b/lib/icode.lms.lib.php index 436206c0e..ebda521e9 100644 --- a/lib/icode.lms.lib.php +++ b/lib/icode.lms.lib.php @@ -60,7 +60,7 @@ class LMS { $this->Result = array(); // 발송결과값이 배열로 들어간다. } - function Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate="", $nCount) { + function Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate="", $nCount=0) { global $config; // 문자 타입별 Port 설정. diff --git a/plugin/sms5/sms5.lib.php b/plugin/sms5/sms5.lib.php index f48341dfc..3dae4828a 100644 --- a/plugin/sms5/sms5.lib.php +++ b/plugin/sms5/sms5.lib.php @@ -161,7 +161,7 @@ if($config['cf_sms_type'] == 'LMS') { public $Result = array(); public $Log = array(); - function Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate="", $nCount) { + function Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate="", $nCount=0) { global $config; // 아이코드 JSON 모듈은 UTF-8 을 사용하며, sms 또는 lms 는 euc-kr 로 사용한다. @@ -280,7 +280,7 @@ if($config['cf_sms_type'] == 'LMS') { break; } } - function Add2($strDest, $strCallBack, $strCaller, $strURL, $strMessage, $strDate="", $nCount) { + function Add2($strDest, $strCallBack, $strCaller, $strURL, $strMessage, $strDate="", $nCount=0) { global $g5, $config; $Error = $this->CheckCommonTypeDest($strDest, $nCount);