Fixing style errors.
This commit is contained in:
parent
5e4ed0dea0
commit
75a8fdce11
@ -375,10 +375,10 @@ class modEventOrganization extends DolibarrModules
|
|||||||
|
|
||||||
$init = $this->_init($sql, $options);
|
$init = $this->_init($sql, $options);
|
||||||
|
|
||||||
if(empty($conf->global->EVENTORGANIZATION_CATEG_THIRDPARTY_CONF)) {
|
if (empty($conf->global->EVENTORGANIZATION_CATEG_THIRDPARTY_CONF)) {
|
||||||
$langs->load('eventorganization');
|
$langs->load('eventorganization');
|
||||||
$res = $cat->fetch(null, $langs->trans('ApplicantOrVisitor'));
|
$res = $cat->fetch(null, $langs->trans('ApplicantOrVisitor'));
|
||||||
if($cat->id) {
|
if ($cat->id) {
|
||||||
dolibarr_set_const($this->db, 'EVENTORGANIZATION_CATEG_THIRDPARTY_CONF', $res);
|
dolibarr_set_const($this->db, 'EVENTORGANIZATION_CATEG_THIRDPARTY_CONF', $res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user