Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-07-22 06:54:58 +02:00
commit 61640fc488
2 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,7 @@ phpMyAdmin - ChangeLog
- bug #4984 Undefined <feature>work upon upgrade to new version
4.4.13.0 (not yet released)
- issue #1808 "Improve table structure" generates invalid SQL
4.4.12.0 (2015-07-20)
- bug Saved chart image does not have a proper name or an extension

View File

@ -106,6 +106,10 @@ function PMA_setColumnCreationStatementSuffix($current_field_num,
return $sql_suffix;
}
if ($_REQUEST['field_where'] == 'last') {
return $sql_suffix;
}
// Only the first field can be added somewhere other than at the end
if ($current_field_num == 0) {
if ($_REQUEST['field_where'] == 'first') {