mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Merge pull request #3847 from Jimmi08/patch-17
fix for working with multilan pref
This commit is contained in:
@@ -231,9 +231,9 @@ class faqs_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
$customCaption = e107::pref('faqs', 'page_title');
|
$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;
|
return LAN_PLUGIN_FAQS_FRONT_NAME;
|
||||||
|
Reference in New Issue
Block a user