Fix midair collision change detection (duplicate in into $cgi)
parent
41197ffa28
commit
3f3595085c
|
@ -172,11 +172,13 @@ if ($ARGS->{delta_ts})
|
|||
$equal = 0 if %$cur;
|
||||
# If equal to old value -> change to the new value
|
||||
$ARGS->{$_->{fieldname}} = $new if $equal;
|
||||
$cgi->param($_->{fieldname}, $new) if $equal;
|
||||
}
|
||||
elsif ($ARGS->{$_->{fieldname}} eq $_->{removed})
|
||||
{
|
||||
# If equal to old value -> change to the new value
|
||||
$ARGS->{$_->{fieldname}} = $_->{added};
|
||||
$cgi->param($_->{fieldname}, $_->{added});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue