1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Merge pull request #4850 from Jimmi08/patch-1

Fixes #4849 Add support for wrappers in contact menu
This commit is contained in:
Cameron
2022-09-29 12:08:57 -07:00
committed by GitHub

View File

@@ -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);