diff --git a/src/IDF/Webhook.php b/src/IDF/Webhook.php index bfdbc1f..4a7f939 100644 --- a/src/IDF/Webhook.php +++ b/src/IDF/Webhook.php @@ -85,6 +85,10 @@ class IDF_Webhook // Already processed. return; } + if ($item->payload['url'] == '') { + // We do nothing. + return; + } // We have either to retry or to push for the first time. $res = self::postNotification($item->payload); if ($res) {