From: Mikael Nordfeldth Date: Fri, 10 Jul 2015 20:49:38 +0000 (+0200) Subject: The 'target' is an argument to common_local_url not the target profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=55b2d124bc90331d8d8c44415407e43dc8a0029a;p=quix0rs-gnu-social.git The 'target' is an argument to common_local_url not the target profile --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 2fd60ad654..0dace39db0 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -1072,7 +1072,7 @@ class OStatusPlugin extends Plugin $action->elementStart('div', 'entity_actions'); $action->elementStart('p', array('id' => 'entity_remote_subscribe', 'class' => 'entity_subscribe')); - $action->element('a', array('href' => common_local_url($action->getTarget()), + $action->element('a', array('href' => common_local_url($target), 'class' => 'entity_remote_subscribe'), // TRANS: Link text for link to remote subscribe. _m('Remote'));