bug #3404886 [navi] Edit SQL statement after error
This commit is contained in:
@@ -614,12 +614,12 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
|
||||
if (strlen($table)) {
|
||||
$_url_params['db'] = $db;
|
||||
$_url_params['table'] = $table;
|
||||
$doedit_goto = '<a href="tbl_sql.php?' . PMA_generate_common_url($_url_params) . '">';
|
||||
$doedit_goto = '<a href="tbl_sql.php' . PMA_generate_common_url($_url_params) . '">';
|
||||
} elseif (strlen($db)) {
|
||||
$_url_params['db'] = $db;
|
||||
$doedit_goto = '<a href="db_sql.php?' . PMA_generate_common_url($_url_params) . '">';
|
||||
$doedit_goto = '<a href="db_sql.php' . PMA_generate_common_url($_url_params) . '">';
|
||||
} else {
|
||||
$doedit_goto = '<a href="server_sql.php?' . PMA_generate_common_url($_url_params) . '">';
|
||||
$doedit_goto = '<a href="server_sql.php' . PMA_generate_common_url($_url_params) . '">';
|
||||
}
|
||||
|
||||
$error_msg_output .= $doedit_goto
|
||||
|
Reference in New Issue
Block a user