]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
The 'target' is an argument to common_local_url not the target profile
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 10 Jul 2015 20:49:38 +0000 (22:49 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 10 Jul 2015 20:49:38 +0000 (22:49 +0200)
plugins/OStatus/OStatusPlugin.php

index 2fd60ad65455d99968b0f01defc012fd1ddd28cd..0dace39db0a542da1031df2f40de0abe0560ee61 100644 (file)
@@ -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'));