Fix default contract numbering module must be serpis of nothing defined
This commit is contained in:
parent
a129446a16
commit
c34081cf53
@ -935,7 +935,7 @@ class Contrat extends CommonObject
|
||||
|
||||
|
||||
// Load object modContract
|
||||
$module=(! empty($conf->global->CONTRACT_ADDON)?$conf->global->CONTRACT_ADDON:'mod_contract_olive');
|
||||
$module=(! empty($conf->global->CONTRACT_ADDON)?$conf->global->CONTRACT_ADDON:'mod_contract_serpis');
|
||||
if (substr($module, 0, 13) == 'mod_contract_' && substr($module, -3) == 'php')
|
||||
{
|
||||
$module = substr($module, 0, dol_strlen($module)-4);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user