diff --git a/ChangeLog b/ChangeLog index 7685641d3..7d81d6d10 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-07-16 Marc Delisle + * libraries/export/sql.php3: bug 771575: wrong quotes for variable expansion + 2003-07-16 Alexander M. Turek * libraries/functions.js: Bug #771794 (CHAR length check although field name is empty). diff --git a/libraries/export/sql.php3 b/libraries/export/sql.php3 index 29cc4feb2..a5051a397 100644 --- a/libraries/export/sql.php3 +++ b/libraries/export/sql.php3 @@ -310,10 +310,10 @@ function PMA_getTableDef($db, $table, $crlf, $error_url, $do_relation = false, $ $sub_part = (isset($row['Sub_part'])) ? $row['Sub_part'] : ''; if ($kname != 'PRIMARY' && $row['Non_unique'] == 0) { - $kname = "UNIQUE|$kname"; + $kname = 'UNIQUE|' . $kname; } if ($comment == 'FULLTEXT') { - $kname = 'FULLTEXT|$kname'; + $kname = 'FULLTEXT|' . $kname; } if (!isset($index[$kname])) { $index[$kname] = array();