Fixing style errors.

This commit is contained in:
stickler-ci 2022-07-29 13:33:16 +00:00
parent 5e4ed0dea0
commit 75a8fdce11

View File

@ -375,10 +375,10 @@ class modEventOrganization extends DolibarrModules
$init = $this->_init($sql, $options);
if(empty($conf->global->EVENTORGANIZATION_CATEG_THIRDPARTY_CONF)) {
if (empty($conf->global->EVENTORGANIZATION_CATEG_THIRDPARTY_CONF)) {
$langs->load('eventorganization');
$res = $cat->fetch(null, $langs->trans('ApplicantOrVisitor'));
if($cat->id) {
if ($cat->id) {
dolibarr_set_const($this->db, 'EVENTORGANIZATION_CATEG_THIRDPARTY_CONF', $res);
}
}