1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00

Merge branch 'QA_4_3'

This commit is contained in:
Marc Delisle
2015-02-19 08:00:25 -05:00
2 changed files with 6 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ phpMyAdmin - ChangeLog
- bug #4763 Database export with more than 512 tables fails
- bug #4769 Previously set column aliases are destroyed if returned to the same table
- bug #4752 Incorrect page after creating table
- bug #4771 Central Columns not working, showing error
4.3.9.0 (2015-02-05)
- bug #4728 Incorrect headings in routine editor

View File

@@ -95,7 +95,11 @@ function PMA_getCentralColumnsCount($db)
PMA_Util::backquote($central_list_table) . ' '
. 'WHERE db_name = \'' . $db . '\';';
$res = $GLOBALS['dbi']->fetchResult($query);
return $res[0];
if (isset($res[0])) {
return $res[0];
} else {
return 0;
}
}
/**
* return the existing columns in central list among the given list of columns