1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-07 17:42:53 +03:00

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']
This commit is contained in:
Christian Boltz
2017-12-30 13:42:47 +01:00
parent d04c82fbcb
commit 977f335a0f

View File

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