]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Merge pull request #10228 from MrPetovan/bug/warnings
[friendica.git] / mod / tagger.php
index 38575a21596cd9c13c3bd840e34825e108dad257..2e5116df8dcd445f6e03461ad0ed369dee5d4aa3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -176,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();
 }