This patch is for this bug: https://sourceforge.net/tracker/?func=detail&aid=2938291&group_id=23067&atid=377411
When there are multiple tables in a database with the same prefix, PMA groups them together. However, if there is only one table then there should be no grouping.
diff of the code
screenshot of what it looked like before
Your patch works as expected, however I have few comments:
1. please document what the code is supposed to do, especially the for loop is non obvious
2. please keep coding style, you use mix of tabs and spaces to indent
updated diff with comments and proper formatting
Your patch was merged in the repository, thanks.