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
pull/112/head
er1cs 7 years ago committed by GitHub
parent e478eb8b9f
commit 7b8626ca81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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