aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 73e87c16f..207a99dd7 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -14,7 +14,7 @@ function follow_init(&$a) {
$return_url = $_SESSION['return_url'];
$confirm = intval($_REQUEST['confirm']);
- $channel = $a->get_channel();
+ $channel = App::get_channel();
$result = new_contact($uid,$url,$channel,true,$confirm);