diff --git a/module/webhook/control.php b/module/webhook/control.php index b78e32503b..0161fb81ee 100644 --- a/module/webhook/control.php +++ b/module/webhook/control.php @@ -228,7 +228,7 @@ class webhook extends control if($webhook->type == 'feishuuser') $response = array('result' => 'success', 'data' => array()); - if($response['result'] == 'fail') return $this->send(array('result' => 'fail', 'load' => array('alert' => $response['message'], 'locate' => $this->createLink('webhook', 'browse')))); + if($response['result'] == 'fail') return $this->send(array('result' => 'fail', 'load' => array('alert' => is_array($response['message']) ? implode(',', $response['message']) : $response['message'], 'locate' => $this->createLink('webhook', 'browse')))); if($response['result'] == 'selected') {