From a751733e6c425a8dbec979d0d026f264732a194a Mon Sep 17 00:00:00 2001 From: lyt Date: Sun, 29 Sep 2019 09:29:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20iPaylinks=E9=82=AE=E4=BB=B6=E8=AF=AD?= =?UTF-8?q?=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/iPayLinksService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index e70c634a..2b903b2d 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(explode('_', "en")[0]); + $ln = strtolower(explode('_', $ln)[0]); $ln = $ln==='ja' ? 'jp' : $ln; $this->lang->load('ipl_common',$ln); $this->lang->load('ipl_buyer_email',$ln);