X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/f1cb70497e07252759d6832d900a8fc478a4fbd7..9c481b9a71983e1359c91748a7e5150700808599:/tweeper.php?ds=inline diff --git a/tweeper.php b/tweeper.php index b1809ed..0955a11 100644 --- a/tweeper.php +++ b/tweeper.php @@ -442,4 +442,8 @@ if (!isset($options['src_url'])) { } $tweeper = new Tweeper($options['generate_enclosure']); -echo $tweeper->tweep($options['src_url']); +$output = $tweeper->tweep($options['src_url']); +if (is_null($output)) { + exit(1); +} +echo $output;