mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Notices: Store maria into a declared variable
This commit is contained in:
@@ -1076,7 +1076,7 @@ class Adminer {
|
||||
echo "</script>\n";
|
||||
}
|
||||
echo script("syntaxHighlighting('" . (is_object($connection) ? preg_replace('~^(\d\.?\d).*~s', '\1', $connection->server_info) : "") . "'"
|
||||
. ($connection->maria ? ", 'maria'" : ($connection->cockroach ? ", 'cockroach'" : "")) . ");"
|
||||
. ($connection->flavor == 'maria' ? ", 'maria'" : ($connection->flavor == 'cockroach' ? ", 'cockroach'" : "")) . ");"
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user