From f5e6b809dd61782ad2a78a2f0cf245ae2a888b62 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 6 Aug 2008 17:25:31 +0000 Subject: [PATCH] bug #2037381 [export] Export type "replace" does not work --- ChangeLog | 1 + libraries/export/sql.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f4adf5535..569615edb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #2032707 [core] PMA does not start if ini_set() is disabled - bug #2004915 [bookmarks] Saved queries greater than 1000 chars not displayed, thanks to Maik Wiege - mswiege +- bug #2037381 [export] Export type "replace" does not work 2.11.8.0 (2008-07-28) - patch #1987593 [interface] Table list pagination in navi, diff --git a/libraries/export/sql.php b/libraries/export/sql.php index 753252ebf..278183cdc 100644 --- a/libraries/export/sql.php +++ b/libraries/export/sql.php @@ -118,7 +118,7 @@ if (isset($plugin_list)) { $plugin_list['sql']['options'][] = array('type' => 'bool', 'name' => 'hex_for_blob', 'text' => 'strHexForBLOB'); $plugin_list['sql']['options'][] = - array('type' => 'select', 'name' => 'type', 'text' => 'strSQLExportType', 'values' => array('INSERT', 'UPDATE', 'REPLACE')); + array('type' => 'select', 'name' => 'type', 'text' => 'strSQLExportType', 'values' => array('INSERT' => 'INSERT', 'UPDATE' => 'UPDATE', 'REPLACE' => 'REPLACE')); $plugin_list['sql']['options'][] = array('type' => 'egroup'); }