mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Initialize variable used in textarea highlighting
This commit is contained in:
@@ -16,6 +16,7 @@ if (!$error && $_POST["clear"]) {
|
||||
|
||||
$codemirror_path = "../externals/CodeMirror2";
|
||||
$codemirror_mode = ($jush == "sql" ? "mysql" : "plsql");
|
||||
$error_lines = array();
|
||||
|
||||
page_header(lang('SQL command'), $error, array(), "", "<link rel='stylesheet' href='$codemirror_path/lib/codemirror.css'>");
|
||||
|
||||
@@ -54,7 +55,6 @@ if (!$error && $_POST) {
|
||||
}
|
||||
$commands = 0;
|
||||
$errors = array();
|
||||
$error_lines = array();
|
||||
$line = 0;
|
||||
$parse = '[\'"' . ($jush == "sql" ? '`#' : ($jush == "sqlite" ? '`[' : ($jush == "mssql" ? '[' : ''))) . ']|/\\*|-- |$' . ($jush == "pgsql" ? '|\\$[^$]*\\$' : '');
|
||||
$total_start = microtime();
|
||||
|
Reference in New Issue
Block a user