* Move die to return.

This commit is contained in:
zhujinyong
2022-02-22 14:15:00 +08:00
parent 1f8e1b0021
commit 408f8d4d91
40 changed files with 489 additions and 482 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ class webhookModel extends model
*/
public function fetchHook($webhook, $sendData, $actionID = 0)
{
if(!extension_loaded('curl')) die(helper::jsonEncode($this->lang->webhook->error->curl));
if(!extension_loaded('curl')) return print(helper::jsonEncode($this->lang->webhook->error->curl));
if($webhook->type == 'dinguser' || $webhook->type == 'wechatuser' || $webhook->type == 'feishuuser')
{