bring back the collection edit sidebar widget on the connection edit page until I sort out Comanche on that page.

This commit is contained in:
friendica 2013-12-16 13:34:34 -08:00
parent a7a775a718
commit 50731fa6a6

View File

@ -39,10 +39,10 @@ function connections_aside(&$a) {
if(x($a->data,'abook')) {
$a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer()));
$a->set_widget('collections', group_side('connections','group',false,0,$a->data['abook']['abook_xchan']));
}
else {
$a->set_widget('follow', widget_follow(array()));
$a->set_widget('collections', group_side('connections','group',false,0,((array_key_exists('abook',$a->data)) ? $a->data['abook']['abook_xchan'] : '')));
}