Fixed bug in custom unit #4166
This commit is contained in:
parent
d515e510f3
commit
b444be87b4
|
@ -1381,11 +1381,7 @@ if ($update_module || $create_module) {
|
|||
$ff_type = (int) get_parameter('ff_type');
|
||||
$each_ff = (int) get_parameter('each_ff');
|
||||
$ff_timeout = (int) get_parameter('ff_timeout');
|
||||
$unit = (string) get_parameter('unit_select');
|
||||
if ($unit == 'none' || $unit == '') {
|
||||
$unit = (string) get_parameter('unit_text');
|
||||
}
|
||||
|
||||
$unit = (string) get_parameter('unit');
|
||||
$id_tag = (array) get_parameter('id_tag_selected');
|
||||
$serialize_ops = (string) get_parameter('serialize_ops');
|
||||
$critical_instructions = (string) get_parameter('critical_instructions');
|
||||
|
|
Loading…
Reference in New Issue