1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Merge pull request 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
commit 17f2377827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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