mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed bug in custom unit #4166
This commit is contained in:
parent
d42bcd17c2
commit
d515e510f3
@ -1382,7 +1382,7 @@ if ($update_module || $create_module) {
|
||||
$each_ff = (int) get_parameter('each_ff');
|
||||
$ff_timeout = (int) get_parameter('ff_timeout');
|
||||
$unit = (string) get_parameter('unit_select');
|
||||
if ($unit == 'none') {
|
||||
if ($unit == 'none' || $unit == '') {
|
||||
$unit = (string) get_parameter('unit_text');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user