Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-03-08 06:09:41 +01:00
commit 45534f7498
2 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,7 @@ phpMyAdmin - ChangeLog
- issue #12055 Fixed PHP syntax error in templates
- issue #12054 Fixed processing of queries with escaped quotes
- issue #12041 Fixed exporting tables with fields DEFAULT and COMMENT
- issue #12073 Hide edit and delete buttons when the results are not related to a table
4.5.5.1 (2016-02-29)
- issue #11971 CREATE UNIQUE INDEX index type is not recognized by parser.

View File

@ -574,6 +574,13 @@ class DisplayResults
$prev_table = $fields_meta[$i]->table;
}
} // end for
if ($prev_table == '') { // no table for any of the columns
// don't display links
$displayParts['edit_lnk'] = self::NO_EDIT_OR_DELETE;
$displayParts['del_lnk'] = self::NO_EDIT_OR_DELETE;
}
return $displayParts;
}