missed one other place where we called comanche outside the page build

This commit is contained in:
redmatrix 2016-05-06 00:43:37 -07:00
parent 7101bbedcb
commit 5882714e23
2 changed files with 1600 additions and 1628 deletions

View File

@ -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)

File diff suppressed because it is too large Load Diff