projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
1177: Print single receipt fails
[fa-stable.git]
/
includes
/
date_functions.inc
diff --git
a/includes/date_functions.inc
b/includes/date_functions.inc
index e4b2c76f0f5644e895c52cd018fa3c3bc2feff02..6f8379e072877bbf9413f274ca29366da2af68a6 100644
(file)
--- a/
includes/date_functions.inc
+++ b/
includes/date_functions.inc
@@
-272,7
+272,7
@@
function add_months($date, $months) // accepts negative values as well
$year = ($months-$month)/12;
$timet = mktime(0,0,0, $month, min($day, days_in_month($month, $year)), $year);
-
+
if ($date_system == 1 || $date_system == 2)
{
if ($date_system == 1)