forked from Wavyzz/dolibarr
Debug v16 - Fix for postgresql - Fix for sql loading per module - php8
This commit is contained in:
@@ -442,7 +442,7 @@ class modKnowledgeManagement extends DolibarrModules
|
||||
{
|
||||
global $conf, $langs;
|
||||
|
||||
$result = $this->_load_tables('/install/mysql/tables/', 'knowledgemanagement');
|
||||
$result = $this->_load_tables('/install/mysql/', 'knowledgemanagement');
|
||||
if ($result < 0) {
|
||||
return -1; // Do not activate module if error 'not allowed' returned when loading module SQL queries (the _load_table run sql with run_sql with the error allowed parameter set to 'default')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user