Revision: 1683
http://mrbs.svn.sourceforge.net/mrbs/?rev=1683&view=rev
Author: cimorrison
Date: 2010-12-09 15:19:31 +0000 (Thu, 09 Dec 2010)
Log Message:
-----------
Stopped iCalendar information being sent when using periods and bookings
requiring approval
Modified Paths:
--------------
mrbs/branches/ics_attachments/web/approve_entry_handler.php
Modified: mrbs/branches/ics_attachments/web/approve_entry_handler.php
===================================================================
--- mrbs/branches/ics_attachments/web/approve_entry_handler.php 2010-12-09
14:53:14 UTC (rev 1682)
+++ mrbs/branches/ics_attachments/web/approve_entry_handler.php 2010-12-09
15:19:31 UTC (rev 1683)
@@ -95,6 +95,10 @@
{
// Retrieve the booking details which we will need for the email
$data = mrbsGetBookingInfo($id, $series);
+ // Get the area settings for this area (we will need to know if periods
are enabled
+ // so that we will kniow whether to include iCalendar information in the
email)
+ get_area_settings($data['area_id']);
+ // Send the email
$result = notifyAdminOnBooking($data, $mail_previous, $is_new_entry,
$series, $action, $note);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:
WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits