X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagger.php;h=2e5116df8dcd445f6e03461ad0ed369dee5d4aa3;hb=7789ea25079801ee1425368e9bf2f7ce80d16d88;hp=63e7f2ca80d490ca0357d0f3eeb4d2c75ca35ef8;hpb=ba0d3b2435501a89500542b18e3e24e471eb8fb4;p=friendica.git diff --git a/mod/tagger.php b/mod/tagger.php index 63e7f2ca80..2e5116df8d 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -1,6 +1,6 @@ $item_id]); + $item = Post::selectFirst([], ['id' => $item_id]); if (!$item_id || !DBA::isResult($item)) { Logger::log('tagger: no item ' . $item_id); @@ -175,7 +176,9 @@ EOT; Hook::callAll('post_local_end', $arr); - Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, $post_id); + $post = Post::selectFirst(['uri-id', 'uid'], ['id' => $post_id]); + + Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, $post['uri-id'], $post['uid']); exit(); }