diff --git a/libraries/plugins/export/ExportHtmlword.class.php b/libraries/plugins/export/ExportHtmlword.class.php index cddcbadc90..c1dfcf3f69 100644 --- a/libraries/plugins/export/ExportHtmlword.class.php +++ b/libraries/plugins/export/ExportHtmlword.class.php @@ -35,6 +35,12 @@ class ExportHtmlword extends ExportPlugin */ private $_what; + /** + * + * @var type + */ + private $_cfgRelation; + /** * Constructor */ @@ -52,9 +58,11 @@ class ExportHtmlword extends ExportPlugin { global $charset_of_file; global $what; + global $cfgRelation; $this->setCharsetOfFile($charset_of_file); $this->setWhat($what); + $this->setCfgRelation($cfgRelation); } /** @@ -369,6 +377,7 @@ class ExportHtmlword extends ExportPlugin $view = false ) { global $cfgRelation; + $this->setCfgRelation($cfgRelation); $schema_insert = ''; @@ -481,7 +490,7 @@ class ExportHtmlword extends ExportPlugin } $schema_insert .= ''; - } // end foreach + } // end foreach $schema_insert .= ''; return $schema_insert; @@ -605,7 +614,7 @@ class ExportHtmlword extends ExportPlugin } /** - * Formats the definition for one column + * Formats the definition for one column * * @param array $column info about this column * @param array $unique_keys unique keys of the table @@ -638,16 +647,16 @@ class ExportHtmlword extends ExportPlugin $fmt_pre = '' . $fmt_pre; $fmt_post = $fmt_post . ''; } - $definition .= '