diff --git a/e107_core/shortcodes/batch/page_shortcodes.php b/e107_core/shortcodes/batch/page_shortcodes.php index d2f878ce3..36487a113 100644 --- a/e107_core/shortcodes/batch/page_shortcodes.php +++ b/e107_core/shortcodes/batch/page_shortcodes.php @@ -246,7 +246,7 @@ class cpage_shortcodes extends e_shortcode { $tp = e107::getParser(); - if(!check_class($this->var['page_class'])) + if(empty($this->var['menu_button_url']) && !check_class($this->var['page_class'])) // ignore when custom url used. { return ""; }