aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 => '');