Fixed bug in unit in massive operations - #4166

This commit is contained in:
Tatiana Llorente 2019-08-27 12:21:00 +02:00
parent b444be87b4
commit d38f1f8aec

View File

@ -1930,11 +1930,7 @@ function process_manage_edit($module_name, $agents_select=null, $module_status='
case 'unit_select':
if ($value != -1) {
if ($value == 'none') {
$values['unit'] = (string) get_parameter('unit_text');
} else {
$values['unit'] = $value;
}
$values['unit'] = (string) get_parameter('unit');
}
break;