Skip to content

Commit

Permalink
Merge branch 'QA_4_4' into QA_4_5
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuracj committed Sep 18, 2015
2 parents aa65bfa + 89d10fc commit 74dcc98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -119,6 +119,7 @@ phpMyAdmin - ChangeLog
- issue #11457 Request URI too large
- issue Invalid argument supplied for foreach()
- issue #11461 Foreign key constraints for InnoDB tables with upper-case letters disabled
- issue #11487 Warning when entering Query page

4.4.14.1 (2015-09-08)
- issue [security] reCaptcha bypass
Expand Down
6 changes: 3 additions & 3 deletions libraries/DatabaseInterface.class.php
Expand Up @@ -1528,16 +1528,16 @@ public function getColumnsSql($database, $table, $column = null, $full = false)
* @param boolean $full whether to return full info or only column names
* @param mixed $link mysql link resource
*
* @return false|array array indexed by column names or,
* if $column is given, flat array description
* @return array array indexed by column names or,
* if $column is given, flat array description
*/
public function getColumns($database, $table, $column = null, $full = false,
$link = null
) {
$sql = $this->getColumnsSql($database, $table, $column, $full);
$fields = $this->fetchResult($sql, 'Field', null, $link);
if (! is_array($fields) || count($fields) == 0) {
return null;
return array();
}
// Check if column is a part of multiple-column index and set its 'Key'.
$indexes = PMA_Index::getFromTable($table, $database);
Expand Down

0 comments on commit 74dcc98

Please sign in to comment.