From 60d9d0751a26ab610a5205b08caee246294eec57 Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 17 Jul 2015 23:08:49 -0700 Subject: [PATCH] Fixes #1143 - ForumJump fatal error fix. --- .../forum/shortcodes/batch/post_shortcodes.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php index 26a96c16d..5ee7b5ba4 100644 --- a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php @@ -61,7 +61,18 @@ class plugin_forum_post_shortcodes extends e_shortcode function sc_forumjump() { - return forumjump(); // FIXME - broken in v1 themes + $jumpList = $this->forum->forumGetAllowed('view'); + $text = "

".LAN_FORUM_1017.":

"; + + return $text; + + + // return forumjump(); // FIXME - broken in v1 themes } function sc_userbox()