diff options
Diffstat (limited to 'libraries/classes/Plugins/Export/ExportHtmlword.php')
-rw-r--r-- | libraries/classes/Plugins/Export/ExportHtmlword.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/classes/Plugins/Export/ExportHtmlword.php b/libraries/classes/Plugins/Export/ExportHtmlword.php index 991acaa27d..36e6fa1b02 100644 --- a/libraries/classes/Plugins/Export/ExportHtmlword.php +++ b/libraries/classes/Plugins/Export/ExportHtmlword.php @@ -16,6 +16,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Items\BoolPropertyItem; use PhpMyAdmin\Properties\Options\Items\RadioPropertyItem; use PhpMyAdmin\Properties\Options\Items\TextPropertyItem; +use PhpMyAdmin\Relation; use PhpMyAdmin\Transformations; use PhpMyAdmin\Util; @@ -371,7 +372,7 @@ class ExportHtmlword extends ExportPlugin $GLOBALS['dbi']->selectDb($db); // Check if we can use Relations - list($res_rel, $have_rel) = PMA_getRelationsAndStatus( + list($res_rel, $have_rel) = Relation::getRelationsAndStatus( $do_relation && !empty($cfgRelation['relation']), $db, $table @@ -404,7 +405,7 @@ class ExportHtmlword extends ExportPlugin $schema_insert .= '<td class="print"><strong>' . __('Comments') . '</strong></td>'; - $comments = PMA_getComments($db, $table); + $comments = Relation::getComments($db, $table); } if ($do_mime && $cfgRelation['mimework']) { $schema_insert .= '<td class="print"><strong>' |