You've already forked postfixadmin
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:
@@ -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."`";
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user