From ab6484be34b7cf439e86c66d71f05b2875e8ca57 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 28 Jun 2014 21:01:51 -0700 Subject: [PATCH] Fix for missing button when custom button url in use. --- e107_core/shortcodes/batch/page_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""; }