aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-04 18:34:42 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-04 18:34:42 -0800
commit5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf (patch)
tree46a18b98b7213208e2c5f30c8cac1a4d2fac3ba0 /mod
parent42c0f83ec5cd6d54c190832db1d432f69576e104 (diff)
downloadvolse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.tar.gz
volse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.tar.bz2
volse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.zip
menu_list() takes a channel_id, not the whole channel array
Diffstat (limited to 'mod')
-rw-r--r--mod/rbmark.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/rbmark.php b/mod/rbmark.php
index cbd32098b..4401e3626 100644
--- a/mod/rbmark.php
+++ b/mod/rbmark.php
@@ -77,7 +77,9 @@ function rbmark_content(&$a) {
$channel = $a->get_channel();
- $m = menu_list($channel,'',MENU_BOOKMARK);
+
+ $m = menu_list($channel['channel_id'],'',MENU_BOOKMARK);
+
$menus = array();
if($m) {
$menus = array(0 => '');