Browse Source

improve validation

main
ghost 11 months ago
parent
commit
eba1e9ee39
  1. 3
      src/cli/bot.php

3
src/cli/bot.php

@ -155,6 +155,9 @@ foreach ($config->feed as $feed) @@ -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)
{

Loading…
Cancel
Save