remove brackets from conditions that are not needed

This commit is contained in:
Milan
2020-03-07 23:18:42 +01:00
parent 4584125923
commit ea9590f6dc
13 changed files with 23 additions and 25 deletions

View File

@@ -94,7 +94,7 @@ sub save_schedule {
'type'
)
{
$entry->{$attr} = $params->{$attr} if ( defined $params->{$attr} );
$entry->{$attr} = $params->{$attr} if defined $params->{$attr};
}
my $found = 0;