Do nothing on webhook without an url.

This commit is contained in:
Loic d'Anterroches 2010-05-10 10:43:47 +02:00
parent 692d2e53b2
commit c1a477e7d0

View File

@ -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) {