mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
Merge pull request #3847 from Jimmi08/patch-17
fix for working with multilan pref
This commit is contained in:
commit
17f2377827
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user