Fixes for bugs in Loic's changes

This commit is contained in:
Robin Johnson
2002-08-06 17:15:39 +00:00
parent 09c1290781
commit f99a7c0463
2 changed files with 6 additions and 6 deletions

View File

@@ -1129,7 +1129,7 @@ if (typeof(document.getElementById) != 'undefined'
if (!empty($GLOBALS['show_as_php'])) {
$query_base = '$sql = "' . $query_base;
} else if (!empty($GLOBALS['validatequery'])) {
$query_base = validateSQL($query_base);
$query_base = PMA_validateSQL($query_base);
} else {
$parsed_sql = PMA_SQP_parse($query_base);
$query_base = PMA_formatSql($parsed_sql);