From 5882714e232c087e76a32647809f7129ecb1a35b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 6 May 2016 00:43:37 -0700 Subject: missed one other place where we called comanche outside the page build --- include/identity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/identity.php') diff --git a/include/identity.php b/include/identity.php index 53bed7c0f..807f850db 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1070,8 +1070,8 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa } $menublock = get_pconfig($profile['uid'],'system','channel_menublock'); if ($menublock && (! $block)) { - require_once('include/comanche.php'); - $channel_menu .= comanche_block($menublock); + $comanche = new Zotlabs\Render\Comanche(); + $channel_menu .= $comanche->block($menublock); } if($zcard) -- cgit v1.2.3