[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1084] trunk/LedgerSMB/Form.pm
- Subject: SF.net SVN: ledger-smb: [1084] trunk/LedgerSMB/Form.pm
- From: ..hidden..
- Date: Tue, 17 Apr 2007 15:34:29 -0700
Revision: 1084
http://svn.sourceforge.net/ledger-smb/?rev=1084&view=rev
Author: einhverfr
Date: 2007-04-17 15:34:29 -0700 (Tue, 17 Apr 2007)
Log Message:
-----------
Resolving bug 169959
Modified Paths:
--------------
trunk/LedgerSMB/Form.pm
Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm 2007-04-17 22:33:05 UTC (rev 1083)
+++ trunk/LedgerSMB/Form.pm 2007-04-17 22:34:29 UTC (rev 1084)
@@ -2626,6 +2626,9 @@
$s{message})
= split /,/, $self->{recurring};
+ 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 }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.