* db_details.php3, db_stats.php3, main.php3, sql.php3
tbl_change.php3, tbl_query_box.php3, user_details.php3 libraries/common.lib.php3: - changed show_query to use 1/0 instead of 'y'/'n' * sql.php3, libraries/common.lib.php3: - Improved logic of edit, show_as_php, explain and validator in the SQL query box
This commit is contained in:
2
sql.php3
2
sql.php3
@@ -341,7 +341,7 @@ else {
|
||||
$error = PMA_mysql_error();
|
||||
include('./header.inc.php3');
|
||||
$full_err_url = (ereg('^(db_details|tbl_properties)', $err_url))
|
||||
? $err_url . '&show_query=y&sql_query=' . urlencode($sql_query)
|
||||
? $err_url . '&show_query=1&sql_query=' . urlencode($sql_query)
|
||||
: $err_url;
|
||||
PMA_mysqlDie($error, $full_sql_query, '', $full_err_url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user