Better display of the query if parser is disabled.
This commit is contained in:
@@ -267,7 +267,10 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
||||
if (!is_array($parsed_sql)) {
|
||||
// We don't so just return the input directly
|
||||
// This is intended to be used for when the SQL Parser is turned off
|
||||
return $parsed_sql;
|
||||
$formatted_sql = '<pre>' . "\n"
|
||||
. $parsed_sql . "\n"
|
||||
. '</pre>';
|
||||
return $formatted_sql;
|
||||
}
|
||||
|
||||
$formatted_sql = '';
|
||||
|
Reference in New Issue
Block a user