backporte some bugfixes from trunk intp QA_2_10:
- bug #1567317 [sqp] Syntax highlighter: extra spaces - bug #1239401 [sqp] table dot numeric field name - bug #1672789 [sqp] Undefined offset: 4 in sqlparser.lib.php #1674 - bug #1682044 [export] Export file even if file not selected - bug #1664212 querywindow loses url encoded characters + [config] clean cookies on phpMyAdmin upgrade - bug #1674972 [export] no export with %afm% - bug #1667887 HTML maxlength - bug #1679055 #1050 - Table '<table name>' already exists
This commit is contained in:
@@ -172,11 +172,11 @@ if ( ! empty( $query_history_latest ) && ! empty( $query_history_latest_db ) ) {
|
||||
'table' => isset($query_history_latest_table) ? $query_history_latest_table : '',
|
||||
);
|
||||
|
||||
$sql_query = urldecode($query_history_latest);
|
||||
$sql_query = $query_history_latest;
|
||||
$db = $query_history_latest_db;
|
||||
$table = $query_history_latest_table;
|
||||
} elseif ( ! empty( $query_history_latest ) ) {
|
||||
$sql_query = urldecode($query_history_latest);
|
||||
$sql_query = $query_history_latest;
|
||||
}
|
||||
|
||||
if (isset($sql_query)) {
|
||||
@@ -310,7 +310,7 @@ if ( count( $_sql_history ) > 0
|
||||
. htmlspecialchars( $query['table'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').submit();'
|
||||
.' return false;">[' . htmlspecialchars( $query['db'] ) . '] '
|
||||
. urldecode( $sql ) . '</a>' . "\n";
|
||||
. htmlspecialchars($sql) . '</a>' . "\n";
|
||||
|
||||
echo '</li>' . "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user