aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-06 00:43:37 -0700
committerredmatrix <git@macgirvin.com>2016-05-06 00:43:37 -0700
commit5882714e232c087e76a32647809f7129ecb1a35b (patch)
treea5f6ebc04737fedc85565c3f91faa4d5d33553bf /include
parent7101bbedcb7ca7a04a11ddb4f42be037bd8e54a8 (diff)
downloadvolse-hubzilla-5882714e232c087e76a32647809f7129ecb1a35b.tar.gz
volse-hubzilla-5882714e232c087e76a32647809f7129ecb1a35b.tar.bz2
volse-hubzilla-5882714e232c087e76a32647809f7129ecb1a35b.zip
missed one other place where we called comanche outside the page build
Diffstat (limited to 'include')
-rw-r--r--include/identity.php4
1 files changed, 2 insertions, 2 deletions
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)