bug 3055906 error when running SQL query over AJAX
This commit is contained in:
@@ -2085,8 +2085,11 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql)
|
||||
|
||||
echo '<input type="hidden" name="sql_query"'
|
||||
.' value="' . htmlspecialchars($sql_query) . '" />' . "\n";
|
||||
|
||||
if (! empty($GLOBALS['url_query'])) {
|
||||
echo '<input type="hidden" name="url_query"'
|
||||
.' value="' . $GLOBALS['url_query'] . '" />' . "\n";
|
||||
}
|
||||
|
||||
echo '<input type="hidden" name="clause_is_unique"'
|
||||
.' value="' . $clause_is_unique . '" />' . "\n";
|
||||
|
@@ -245,8 +245,10 @@ if (!empty($submit_mult) && !empty($what)) {
|
||||
}
|
||||
if ($what == 'row_delete') {
|
||||
$_url_params['original_sql_query'] = $original_sql_query;
|
||||
if (! empty($original_url_query)) {
|
||||
$_url_params['original_url_query'] = $original_url_query;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<form action="<?php echo $action; ?>" method="post">
|
||||
<?php
|
||||
|
@@ -113,8 +113,10 @@ if (!empty($submit_mult)) {
|
||||
$err_url = 'tbl_row_action.php' . PMA_generate_common_url($GLOBALS['url_params']);
|
||||
if (! isset($_REQUEST['mult_btn'])) {
|
||||
$original_sql_query = $sql_query;
|
||||
if (! empty($url_query)) {
|
||||
$original_url_query = $url_query;
|
||||
}
|
||||
}
|
||||
require './libraries/mult_submits.inc.php';
|
||||
$_url_params = $GLOBALS['url_params'];
|
||||
$_url_params['goto'] = 'tbl_sql.php';
|
||||
|
Reference in New Issue
Block a user