File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
68694.3.9.0 (2015-02-05)
6970- bug #4728 Incorrect headings in routine editor
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments