From 09ad3944c420b6300e994fe07d5e23a355304719 Mon Sep 17 00:00:00 2001 From: Jimako Date: Thu, 13 Jun 2019 15:50:58 +0200 Subject: [PATCH] fix for working with multilan pref fix if you use shortcode, but caption for tablerender is loaded on other place --- e107_plugins/faqs/faqs_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/faqs/faqs_shortcodes.php b/e107_plugins/faqs/faqs_shortcodes.php index 6f20b8ddc..1cf6dd0e1 100644 --- a/e107_plugins/faqs/faqs_shortcodes.php +++ b/e107_plugins/faqs/faqs_shortcodes.php @@ -233,7 +233,7 @@ class faqs_shortcodes extends e_shortcode 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;