Merge branch 'QA_4_0' of github.com:phpmyadmin/phpmyadmin into Bug3970

Conflicts:
	ChangeLog
This commit is contained in:
Kasun Chathuranga 2013-06-14 23:56:13 +05:30
commit 61df52ccdd
3 changed files with 10 additions and 6 deletions

View File

@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
======================
4.0.5.0 (not yet released)
- bug #3977 Not detected configuration storage
- bug #3970 Pressing enter in the filter field reloads page
4.0.4.0 (not yet released)

View File

@ -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;
}
/**

View File

@ -9784,7 +9784,7 @@ msgstr "Efter %s"
#: libraries/structure.lib.php:1670
#| msgid "Row Statistics"
msgid "Row statistics"
msgstr "Rækkestatistikker"
msgstr "Rækkestatistik"
#: libraries/structure.lib.php:1675 tbl_printview.php:353
msgid "static"