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

@@ -148,7 +148,7 @@ sub save_schedule {
'nextDay'
)
{
$entry->{$attr} = $params->{$attr} if ( defined $params->{$attr} );
$entry->{$attr} = $params->{$attr} if defined $params->{$attr};
}
unless ( project::is_series_assigned( $config, $entry ) == 1 ) {