add missing user_id

This commit is contained in:
Matthias Pfefferle 2023-06-15 12:13:30 +02:00
parent fcf6740d36
commit 4414121502

View file

@ -246,7 +246,7 @@ class Followers {
*
* @return \Activitypub\Model\Follower The Follower object
*/
public static function get_follower( $actor ) {
public static function get_follower( $user_id, $actor ) {
global $wpdb;
$post_id = $wpdb->get_var(