From a0797b61dbe908e4caa0fe4cbd3a6a126f15128b Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Tue, 28 Dec 2021 08:19:59 +0800 Subject: [PATCH] * Fix bug: remove $this. --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 41dac7f075..86162c6714 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2721,7 +2721,7 @@ EOD; global $lang, $app; if(!extension_loaded('curl')) { - if($dataType == 'json') die($this->lang->error->noCurlExt); + if($dataType == 'json') die($lang->error->noCurlExt); return json_encode(array('result' => 'fail', 'message' => $lang->error->noCurlExt)); }