* 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:
@@ -22,10 +22,10 @@ if (!empty($message)) {
|
||||
. '&server=' . $server
|
||||
. '&db=' . urlencode($db)
|
||||
. '&table=' . urlencode($table)
|
||||
. '&$show_query=y'
|
||||
. '&$show_query=1'
|
||||
. '&sql_query=' . urlencode($disp_query);
|
||||
} else {
|
||||
$show_query = 'y';
|
||||
$show_query = '1';
|
||||
}
|
||||
if (isset($sql_query)) {
|
||||
$sql_query_cpy = $sql_query;
|
||||
@@ -112,7 +112,7 @@ if (isset($primary_key)) {
|
||||
. '&server=' . $server
|
||||
. '&db=' . urlencode($db)
|
||||
. '&table=' . urlencode($table)
|
||||
. '&$show_query=y'
|
||||
. '&$show_query=1'
|
||||
. '&sql_query=' . urlencode($local_query);
|
||||
if (isset($sql_query)) {
|
||||
$sql_query_cpy = $sql_query;
|
||||
|
Reference in New Issue
Block a user