1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

fix for working with multilan pref

fix if you use shortcode, but caption for tablerender is loaded on other place
This commit is contained in:
Jimako
2019-06-13 15:50:58 +02:00
committed by GitHub
parent affcec8e47
commit 09ad3944c4

View File

@@ -233,7 +233,7 @@ class faqs_shortcodes extends e_shortcode
if(!empty($customCaption[e_LANGUAGE])) 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;