]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
problem with remote subscription on groups in OStatus
authorEvan Prodromou <evan@status.net>
Sat, 17 Sep 2011 21:28:01 +0000 (17:28 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 17 Sep 2011 21:28:01 +0000 (17:28 -0400)
plugins/OStatus/OStatusPlugin.php

index 360aaa0c0a3f25c3ddf3a3bf1dffb1ac66e3b960..15d0abaa51ffda5c6f3661a28e25c8b92d72415a 100644 (file)
@@ -246,7 +246,7 @@ class OStatusPlugin extends Plugin
         $cur = common_current_user();
 
         if (empty($cur)) {
-            $output->elementStart('li', 'entity_subscribe');
+            $widget->out->elementStart('li', 'entity_subscribe');
             $profile = $peopletag->getTagger();
             $url = common_local_url('ostatusinit',
                                     array('group' => $group->nickname));
@@ -255,7 +255,7 @@ class OStatusPlugin extends Plugin
                                 // TRANS: Link to subscribe to a remote entity.
                                 _m('Subscribe'));
 
-            $output->elementEnd('li');
+            $widget->out->elementEnd('li');
             return false;
         }