diff options
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-x | LedgerSMB/Form.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 8ba7eaed..47b25a6e 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -1425,6 +1425,7 @@ sub add_date { $mm = ( $diff % 12 ); $mm = '12' if $mm == 0; + $yy-- if $mm == 12; $diff = 0; } |