diff options
Diffstat (limited to 'LedgerSMB/Form.pm')
-rw-r--r-- | LedgerSMB/Form.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index bfdf7d7f..5771e124 100644 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -1418,6 +1418,7 @@ sub add_date { $mm = ( $diff % 12 ); $mm = '12' if $mm == 0; + $yy-- if $mm == 12; $diff = 0; } |