Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-06-09 13:50:25 +02:00
commit 2b19bd55ac

View File

@ -164,7 +164,7 @@ class PMA_Console
$output = '';
$_sql_history = PMA_getHistory($GLOBALS['cfg']['Server']['user']);
if ($_sql_history) {
if (! empty($_sql_history)) {
foreach (array_reverse($_sql_history) as $record) {
$isSelect = preg_match(
'@^SELECT[[:space:]]+@i', $record['sqlquery']