Fix quoting in table_by_key()

This fixes a regression introduced by
https://github.com/postfixadmin/postfixadmin/pull/112
which became only visible when using a $CONF['database_prefix']
pull/116/head
Christian Boltz 7 years ago
parent d04c82fbcb
commit 977f335a0f
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -1802,7 +1802,7 @@ function table_by_key ($table_key) {
$table = $CONF['database_tables'][$table_key];
}
return $CONF['database_prefix']."`".$table."`";
return "`".$CONF['database_prefix'].$table."`";
}
/*

Loading…
Cancel
Save