fixed bug #488317 - 'only_db' problem with the 2.2.x
This commit is contained in:
@@ -580,8 +580,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
// else if (mysql_error()) {
|
// else if (mysql_error()) {
|
||||||
// PMA_mysqlDie('', $local_query, FALSE);
|
// PMA_mysqlDie('', $local_query, FALSE);
|
||||||
// }
|
// }
|
||||||
while ($row = @mysql_fetch_array($rs)) {
|
while ($row = @mysql_fetch_row($rs)) {
|
||||||
$true_dblist[] = $row['Database'];
|
$true_dblist[] = $row[0];
|
||||||
} // end while
|
} // end while
|
||||||
if ($rs) {
|
if ($rs) {
|
||||||
mysql_free_result($rs);
|
mysql_free_result($rs);
|
||||||
|
Reference in New Issue
Block a user