mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Fixed bug in unit in massive operations - #4166
This commit is contained in:
parent
b444be87b4
commit
d38f1f8aec
@ -1930,11 +1930,7 @@ function process_manage_edit($module_name, $agents_select=null, $module_status='
|
|||||||
|
|
||||||
case 'unit_select':
|
case 'unit_select':
|
||||||
if ($value != -1) {
|
if ($value != -1) {
|
||||||
if ($value == 'none') {
|
$values['unit'] = (string) get_parameter('unit');
|
||||||
$values['unit'] = (string) get_parameter('unit_text');
|
|
||||||
} else {
|
|
||||||
$values['unit'] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user