mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
FIX this constant break the dictionary admin without Multicompany (#31638)
This commit is contained in:
@@ -435,7 +435,7 @@ function getEntity($element, $shared = 1, $currentobject = null)
|
||||
} else {
|
||||
$out = '';
|
||||
$addzero = array('user', 'usergroup', 'cronjob', 'c_email_templates', 'email_template', 'default_values', 'overwrite_trans');
|
||||
if (getDolGlobalString('HOLIDAY_ALLOW_ZERO_IN_DIC')) {
|
||||
if (getDolGlobalString('HOLIDAY_ALLOW_ZERO_IN_DIC')) { // this constant break the dictionary admin without Multicompany
|
||||
$addzero[] = 'c_holiday_types';
|
||||
}
|
||||
if (in_array($element, $addzero)) {
|
||||
|
||||
Reference in New Issue
Block a user