diff --git a/contact.php b/contact.php index 169ee3c04..5e4190bf3 100644 --- a/contact.php +++ b/contact.php @@ -58,11 +58,14 @@ class contact_front $LAYOUT = '{---CONTACT-INFO---} {---CONTACT-FORM---} '; } - echo str_replace( + + $LAYOUT = str_replace( ['{---CONTACT-FORM---}', '{---CONTACT-INFO---}'], [$form, $info], $LAYOUT ); + + echo e107::getParser()->parseTemplate($LAYOUT, true, e107::getScBatch('contact')); } /**