diff --git a/e107_core/shortcodes/batch/contact_shortcodes.php b/e107_core/shortcodes/batch/contact_shortcodes.php index f69274360..7a8bc64b6 100644 --- a/e107_core/shortcodes/batch/contact_shortcodes.php +++ b/e107_core/shortcodes/batch/contact_shortcodes.php @@ -174,7 +174,8 @@ class contact_shortcodes extends e_shortcode $parm = array_merge(array('required'=>1), $parm); return e107::getForm()->checkbox('gdpr', 1,false, $parm); } - + + /* {CONTACT_GDPR_LINK} */ function sc_contact_gdpr_link($parm='') { $pp = e107::getPref('gdpr_privacypolicy', ''); @@ -182,6 +183,7 @@ class contact_shortcodes extends e_shortcode { return ''; } + $pp = e107::getParser()->replaceConstants($pp, 'full'); $class = (!empty($parm['class'])) ? $parm['class'] : ''; $link = sprintf('%s', $class, $pp, LANCONTACT_22); $text = e107::getParser()->lanVars(LANCONTACT_23, $link);