1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Merge pull request #3847 from Jimmi08/patch-17

fix for working with multilan pref
This commit is contained in:
Cameron
2019-06-13 17:07:24 -07:00
committed by GitHub

View File

@@ -231,9 +231,9 @@ class faqs_shortcodes extends e_shortcode
$customCaption = e107::pref('faqs', 'page_title');
if(!empty($customCaption))
if(!empty($customCaption[e_LANGUAGE]))
{
return e107::getParser()->toHTML($customCaption,true);
return e107::getParser()->toHTML($customCaption[e_LANGUAGE],true);
}
return LAN_PLUGIN_FAQS_FRONT_NAME;