Fix bug 3977 - Not detected configuration storage
This commit is contained in:
parent
0717e36017
commit
c6d568d4f3
@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
|
||||
======================
|
||||
|
||||
4.0.5.0 (not yet released)
|
||||
- bug #3977 Not detected configuration storage
|
||||
|
||||
4.0.4.0 (not yet released)
|
||||
- bug #3959 Using DefaultTabDatabase in NavigationTree for Database Click
|
||||
|
||||
@ -85,12 +85,15 @@ class PMA_RecentTable
|
||||
= " SELECT `tables` FROM " . $this->_pmaTable .
|
||||
" WHERE `username` = '" . $GLOBALS['cfg']['Server']['user'] . "'";
|
||||
|
||||
$row = PMA_DBI_fetch_array(PMA_queryAsControlUser($sql_query));
|
||||
if (isset($row[0])) {
|
||||
return json_decode($row[0], true);
|
||||
} else {
|
||||
return array();
|
||||
$return = array();
|
||||
$result = PMA_queryAsControlUser($sql_query, false);
|
||||
if ($result) {
|
||||
$row = PMA_DBI_fetch_array($result);
|
||||
if (isset($row[0])) {
|
||||
$return = json_decode($row[0], true);
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user