Browse Source

fix variable name

main
ghost 11 months ago
parent
commit
152d889fa5
  1. 2
      src/cli/bot.php

2
src/cli/bot.php

@ -145,7 +145,7 @@ foreach ($config->feed as $feed)
// Get post k // Get post k
$k = 0; $k = 0;
if ($posts = $client->getPosts([$feed->target], 1)) if ($posts = $twister->getPosts([$feed->target], 1))
{ {
if (isset($posts[0]['userpost']['k'])) if (isset($posts[0]['userpost']['k']))
{ {

Loading…
Cancel
Save