@@ -26,8 +26,8 @@ class Module extends FormToolsModule
2626 protected $ author = "Ben Keen " ;
2727 protected $ authorEmail = "ben.keen@gmail.com " ;
2828 protected $ authorLink = "https://formtools.org " ;
29- protected $ version = "3.2 .0 " ;
30- protected $ date = "2019-11-09 " ;
29+ protected $ version = "3.3 .0 " ;
30+ protected $ date = "2023-02-18 " ;
3131 protected $ originLanguage = "en_us " ;
3232 protected $ jsFiles = array (
3333 "{MODULEROOT}/scripts/admin.js " ,
@@ -428,7 +428,7 @@ private function addXmlExportGroup()
428428 {foreach from= \$display_fields item=field_info name=col_row}
429429 {assign var=col_name value= \$field_info.col_name}
430430 {assign var=value value= \$submission. \$col_name}
431- <{ \$col_name}><![CDATA[{smart_display_field form_id= \$form_id
431+ <{ \$col_name}><![CDATA[{smart_display_field form_id= \$form_id
432432 view_id= \$view_id submission_id= \$submission.submission_id
433433 field_info= \$field_info field_types= \$field_types
434434 settings= \$settings value= \$value}]]></{ \$col_name}>
@@ -480,7 +480,7 @@ private function addCsvExportGroup()
480480 {foreach from= \$display_fields item=field_info name=col_row}
481481 {assign var=col_name value= \$field_info.col_name}
482482 {assign var=value value= \$submission. \$col_name}
483- {smart_display_field form_id= \$form_id view_id= \$view_id
483+ {smart_display_field form_id= \$form_id view_id= \$view_id
484484 submission_id= \$submission.submission_id field_info= \$field_info
485485 field_types= \$field_types settings= \$settings value= \$value
486486 escape="csv"}
@@ -526,6 +526,7 @@ private function addModuleSettings()
526526 private function createTables ()
527527 {
528528 $ db = Core::$ db ;
529+ $ L = $ this ->getLangStrings ();
529530
530531 $ queries = array ();
531532 $ word_display = addcslashes ($ L ["word_display " ], "'' " );
@@ -811,7 +812,8 @@ private function addExportGroupContentType()
811812 private function addExportTimeoutSetting ()
812813 {
813814 $ settings = Settings::get ("" , "export_manager " );
814- if (!array_key_exists ($ settings , "export_timeout " )) {
815+
816+ if (!array_key_exists ("export_timeout " , $ settings )) {
815817 Settings::set (array ("export_timeout " => 300 ), "export_manager " );
816818 }
817819 }
0 commit comments