* Fix bug: remove $this.

This commit is contained in:
zhujinyong
2021-12-28 08:19:59 +08:00
parent 8ce5511ecb
commit a0797b61db
+1 -1
View File
@@ -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));
}