diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 7f0c6ec1..c5410ab0 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2726,9 +2726,9 @@ sub save_recurring { $s{print}, $s{email}, $s{message} ) = split /,/, $self->{recurring}; - if ($s{howmany} == 0){ - $self->error("Cannot set to recur 0 times"); - } + if ($s{howmany} == 0){ + $self->error("Cannot set to recur 0 times"); + } for (qw(reference message)) { $s{$_} = $self->unescape( $s{$_} ) } for (qw(repeat howmany payment)) { $s{$_} *= 1 } |