]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/OStatusPlugin.php
The 'target' is an argument to common_local_url not the target profile
[quix0rs-gnu-social.git] / 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'));