From 7eeb23d5c25e249ffcf5d4c73d38e4d33250e56a Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 2 Oct 2018 12:20:40 -0700 Subject: [PATCH] Issue #3473 - menu button URL fix (part 2) --- 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 ba4bf3d2c..9fc229836 100644 --- a/e107_core/shortcodes/batch/page_shortcodes.php +++ b/e107_core/shortcodes/batch/page_shortcodes.php @@ -295,7 +295,7 @@ class cpage_shortcodes extends e_shortcode } $buttonText = (empty($this->var['menu_button_text'])) ? LAN_READ_MORE : $this->var['menu_button_text']; - $buttonUrl = (empty($this->var['menu_button_url'])) ? $url : $tp->replaceConstants($this->var['menu_button_url']); + $buttonUrl = (empty($this->var['menu_button_url'])) ? $url : $tp->replaceConstants($this->var['menu_button_url'], 'abs'); $buttonTarget = (empty($this->var['menu_button_target'])) ? '' : ' target="'.$this->var['menu_button_target'].'" '; //TODO add pref to admin area. $text = vartrue($options['text'], $buttonText);