mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix bad default pdf evalution naming (#31607)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
This commit is contained in:
parent
f69cb49752
commit
9af36e273a
|
|
@ -297,8 +297,8 @@ class modHRM extends DolibarrModules
|
|||
}
|
||||
|
||||
$sql = array(
|
||||
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = 'standard' AND type='evaluation' AND entity = ".((int) $conf->entity),
|
||||
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('standard','evaluation',".((int) $conf->entity).")"
|
||||
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = 'standard_evaluation' AND type='evaluation' AND entity = ".((int) $conf->entity),
|
||||
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('standard_evaluation','evaluation',".((int) $conf->entity).")"
|
||||
);
|
||||
|
||||
return $this->_init($sql, $options);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user