From 0b71c5a3b2f30ff50c01f0b408687d3611fadec9 Mon Sep 17 00:00:00 2001 From: Jimako Date: Tue, 16 Aug 2022 13:51:46 +0200 Subject: [PATCH] Add support for wrappers in contact menu CLOSES #4849 --- e107_plugins/contact/contact_menu.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_plugins/contact/contact_menu.php b/e107_plugins/contact/contact_menu.php index 67e11fd95..0615e41e4 100644 --- a/e107_plugins/contact/contact_menu.php +++ b/e107_plugins/contact/contact_menu.php @@ -29,7 +29,8 @@ $range = range(00,24); $template = e107::getCoreTemplate('contact','menu'); -$contact_shortcodes = e107::getScBatch('contact'); +$contact_shortcodes = e107::getScBatch('contact'); +$contact_shortcodes->wrapper('contact/menu'); $text = e107::getParser()->parseTemplate($head. $template . $foot, true, $contact_shortcodes);