From f52d33753e1382b598763d617e762b328b6b4aff Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 Sep 2011 17:28:01 -0400 Subject: [PATCH] problem with remote subscription on groups in OStatus --- plugins/OStatus/OStatusPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 360aaa0c0a..15d0abaa51 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -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; }