Bug 24964: Fix perl critic warning
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
693d56d0e9
commit
a5576f62eb
|
|
@ -172,7 +172,7 @@ sub search {
|
|||
push @where_args, ($has_permission->{module_bit}) x 2, $has_permission->{subpermission};
|
||||
}
|
||||
|
||||
my $where = " WHERE " . join (" AND ", @where_strs) if @where_strs;
|
||||
my $where = @where_strs ? " WHERE " . join (" AND ", @where_strs) : undef;
|
||||
my $orderby = dt_build_orderby($dt_params);
|
||||
|
||||
my $limit;
|
||||
|
|
|
|||
Loading…
Reference in New Issue