diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index 8b9a5e8c..e70c634a 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -556,7 +556,7 @@ class IPayLinksService extends CI_Controller $remark_info = json_decode($item->IPL_memo); (isset($remark_info->remark)) ? $remark_info = json_decode($remark_info->remark) : NULL; $ln = (isset($remark_info->ln)) ? $remark_info->ln : "en"; - $ln = strtolower(strstr($ln, "_", true)); + $ln = strtolower(explode('_', "en")[0]); $ln = $ln==='ja' ? 'jp' : $ln; $this->lang->load('ipl_common',$ln); $this->lang->load('ipl_buyer_email',$ln);