Revision 74fca575
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/WH.pm | ||
---|---|---|
351 | 351 |
$sort_order = $filter{order} unless $sort_order; |
352 | 352 |
my $sort_spec = "${sort_col} " . ($sort_order ? " DESC" : " ASC"); |
353 | 353 |
|
354 |
my $where_clause = join(" AND ", @filter_ary) . " AND " if (@filter_ary);
|
|
354 |
my $where_clause = @filter_ary ? join(" AND ", @filter_ary) . " AND " : '';
|
|
355 | 355 |
|
356 | 356 |
$select_tokens{'trans'} = { |
357 | 357 |
"parts_id" => "i1.parts_id", |
Auch abrufbar als: Unified diff
Fixes für das "my $var if $cond;" pattern.