mirror of
https://github.com/vrana/adminer.git
synced 2026-02-26 00:21:24 +01:00
Notices: Store maria into a declared variable
This commit is contained in:
@@ -44,7 +44,7 @@ function getCmMode(el) {
|
||||
if (match) {
|
||||
const modes = {
|
||||
js: 'application/json',
|
||||
sql: 'text/x-<?php echo ($connection->maria ? "mariadb" : "mysql"); ?>',
|
||||
sql: 'text/x-<?php echo ($connection->flavor == "maria" ? "mariadb" : "mysql"); ?>',
|
||||
oracle: 'text/x-sql',
|
||||
clickhouse: 'text/x-sql',
|
||||
firebird: 'text/x-sql'
|
||||
|
||||
Reference in New Issue
Block a user