diff --git a/module/webhook/model.php b/module/webhook/model.php index 37393c3754..54852bf529 100644 --- a/module/webhook/model.php +++ b/module/webhook/model.php @@ -596,7 +596,7 @@ class webhookModel extends model $toList = implode(',', $toList); } - $toList = str_replace(",{$this->app->user->account},", ' ', ",$toList,"); + $toList = str_replace(",{$this->app->user->account},", ',', ",$toList,"); $openIdList = $this->getBoundUsers($webhookID, $toList); $openIdList = join(',', $openIdList);