Revision 74fca575
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
190 | 190 |
} |
191 | 191 |
|
192 | 192 |
if ($form->{periodic_invoices_active} ne $form->{periodic_invoices_inactive}) { |
193 |
my $not = 'NOT' if ($form->{periodic_invoices_inactive});
|
|
193 |
my $not = $form->{periodic_invoices_inactive} ? 'NOT' : '';
|
|
194 | 194 |
$query .= qq| AND ${not} COALESCE(pcfg.active, 'f')|; |
195 | 195 |
} |
196 | 196 |
|
Auch abrufbar als: Unified diff
Fixes für das "my $var if $cond;" pattern.