Create Contact\Unfollow module class

This commit is contained in:
Hypolite Petovan 2022-10-30 15:51:41 -04:00
parent a1e6e13a9f
commit 58d6e7e2bb
5 changed files with 189 additions and 4 deletions

View file

@ -339,9 +339,9 @@ class Profile
}
} else {
if ($visitor_is_following) {
$unfollow_link = $visitor_base_path . '/unfollow?url=' . urlencode($profile_url) . '&auto=1';
$unfollow_link = $visitor_base_path . '/contact/unfollow?url=' . urlencode($profile_url) . '&auto=1';
} else {
$follow_link = $visitor_base_path .'/follow?url=' . urlencode($profile_url) . '&auto=1';
$follow_link = $visitor_base_path . '/follow?url=' . urlencode($profile_url) . '&auto=1';
}
}