Do nothing on webhook without an url.
This commit is contained in:
parent
692d2e53b2
commit
c1a477e7d0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user