ATM-Consulting / dolibarr_module_abricot

Collection de fonctions ATM pour module Dolibarr
Other
25 stars 50 forks source link

fix backtick missing arround database name #175

Closed rycks closed 1 year ago

rycks commented 1 year ago

Here is a quick fix for that problem:

sql=SHOW TABLES FROM doli-15 LIKE 'llx_paymentschedule_extrafields'
DoliDBMysqli::query SQL Error message: DB_ERROR_SYNTAX You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-15 LIKE 'llx_paymentschedule_extrafields'' at line 1