0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

Update functions.inc.php

I found that Mysql 8 don't like table names without `` in requests. So i make changes in function table_by_key in functions.inc.php and in upgrade.php . Now it works.  FreeBSD 11.1 Apache/2.4.29 (FreeBSD) PHP/7.1.11 Mysql 8
This commit is contained in:
er1cs 2017-12-24 16:32:06 +02:00 committed by GitHub
parent e478eb8b9f
commit 7b8626ca81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."`";
}
/*