diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-04 18:34:42 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-04 18:34:42 -0800 |
commit | 5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf (patch) | |
tree | 46a18b98b7213208e2c5f30c8cac1a4d2fac3ba0 | |
parent | 42c0f83ec5cd6d54c190832db1d432f69576e104 (diff) | |
download | volse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.tar.gz volse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.tar.bz2 volse-hubzilla-5f1ccc25b6ee38d7d6408f555a932fcee41f8fbf.zip |
menu_list() takes a channel_id, not the whole channel array
-rw-r--r-- | mod/rbmark.php | 4 |
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 => ''); |