From 026786cefe588ca9fbed05042e51e45acd1c757d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 20 May 2024 17:01:45 +0800 Subject: [PATCH] * Fix bug #49716. --- module/webhook/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {