diff --git a/ChangeLog b/ChangeLog index 842e7a668c..be9762d824 100644 --- a/ChangeLog +++ b/ChangeLog @@ -79,6 +79,7 @@ phpMyAdmin - ChangeLog - issue #11231 Try harder to honor LoginCookieValidity setting - issue #13016 and #13017 Slight improvements to the table layout of Relation view - issue #12345 Correctly show affected rows for LOAD DATA queries +- issue #13010 Copy database: SQL error for copying PMADB metadata 4.6.6 (2017-01-23) - issue #12759 Fix Notice regarding 'Undefined index: old_usergroup' diff --git a/libraries/Table.php b/libraries/Table.php index 6913bb4886..6d126358ba 100644 --- a/libraries/Table.php +++ b/libraries/Table.php @@ -1124,12 +1124,11 @@ class Table . ') ' . ' VALUES(' . '\'' . $GLOBALS['dbi']->escapeString($target_db) . '\',\'' . $GLOBALS['dbi']->escapeString($target_table) . '\',\'' . $GLOBALS['dbi']->escapeString($comments_copy_row['column_name']) + . '\',\'' . $GLOBALS['dbi']->escapeString($target_table) . '\',\'' + . $GLOBALS['dbi']->escapeString($comments_copy_row['comment']) . '\'' . ($GLOBALS['cfgRelation']['mimework'] ? ',\'' . $GLOBALS['dbi']->escapeString( - $comments_copy_row['comment'] - ) - . '\',' . '\'' . $GLOBALS['dbi']->escapeString( $comments_copy_row['mimetype'] ) . '\',' . '\'' . $GLOBALS['dbi']->escapeString(