diff --git a/src/cli/bot.php b/src/cli/bot.php index fe20bee..ca12a33 100644 --- a/src/cli/bot.php +++ b/src/cli/bot.php @@ -155,6 +155,9 @@ foreach ($config->feed as $feed) else continue; } + // Empty feed does not return null + else if (is_null($posts)) continue; + // Send each message to the twister account foreach ($query->fetchAll() as $queue) {