Commit r2351: https://sourceforge.net/p/mrbs/code/2351/
------------------------------------------------------------------------
r2351 | cimorrison | 2012-07-23 15:44:55 +0100 (Mon, 23 Jul 2012) | 1 line
Changed paths:
M /mrbs/trunk/web/functions_mail.inc
Fixed bug giving incorrect previous repeat end date in email notification when
a booking is changed from an individual booking to a series.
------------------------------------------------------------------------
Index: mrbs/trunk/web/functions_mail.inc
===================================================================
--- mrbs/trunk/web/functions_mail.inc (revision 2350)
+++ mrbs/trunk/web/functions_mail.inc (revision 2351)
@@ -690,11 +690,12 @@
$opt_previous,
$compare, $as_html);
}
-
+
// Repeat end date
+ $end_previous = ($mail_previous['rep_type'] == REP_NONE) ? '' :
getMailTimeDateString($mail_previous['end_date'], FALSE);
$body .= create_body_table_row (get_mail_vocab("rep_end_date"),
getMailTimeDateString($data['end_date'],
FALSE),
-
getMailTimeDateString($mail_previous['end_date'], FALSE),
+ $end_previous,
$compare, $as_html);
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits