Skip to content

Commit 0ea06dc

Browse files
author
Marc Delisle
committed
Merge branch 'QA_4_3'
2 parents 6a9b787 + 88d3aaf commit 0ea06dc

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ phpMyAdmin - ChangeLog
6464
- bug #4763 Database export with more than 512 tables fails
6565
- bug #4769 Previously set column aliases are destroyed if returned to the same table
6666
- bug #4752 Incorrect page after creating table
67+
- bug #4771 Central Columns not working, showing error
6768

6869
4.3.9.0 (2015-02-05)
6970
- bug #4728 Incorrect headings in routine editor

libraries/central_columns.lib.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@ function PMA_getCentralColumnsCount($db)
9595
PMA_Util::backquote($central_list_table) . ' '
9696
. 'WHERE db_name = \'' . $db . '\';';
9797
$res = $GLOBALS['dbi']->fetchResult($query);
98-
return $res[0];
98+
if (isset($res[0])) {
99+
return $res[0];
100+
} else {
101+
return 0;
102+
}
99103
}
100104
/**
101105
* return the existing columns in central list among the given list of columns

0 commit comments

Comments
 (0)