Revision: 1947
http://mrbs.svn.sourceforge.net/mrbs/?rev=1947&view=rev
Author: cimorrison
Date: 2011-09-12 14:49:20 +0000 (Mon, 12 Sep 2011)
Log Message:
-----------
Fixed bug where Ajax policy checking was not working if "All day" was checked
Modified Paths:
--------------
mrbs/trunk/web/edit_entry_handler.php
Modified: mrbs/trunk/web/edit_entry_handler.php
===================================================================
--- mrbs/trunk/web/edit_entry_handler.php 2011-09-09 10:31:06 UTC (rev
1946)
+++ mrbs/trunk/web/edit_entry_handler.php 2011-09-12 14:49:20 UTC (rev
1947)
@@ -300,13 +300,13 @@
if ($value && ($custom_fields[$field] == ''))
{
print_header($day, $month, $year, $area, isset($room) ? $room : "");
- ?>
- <h1><?php echo get_vocab('invalid_booking'); ?></h1>
- <p>
- <?php echo get_vocab('missing_mandatory_field')." \"".
- get_loc_field_name($tbl_entry, $field)."\""; ?>
- </p>
- <?php
+ ?>
+ <h1><?php echo get_vocab('invalid_booking'); ?></h1>
+ <p>
+ <?php echo get_vocab('missing_mandatory_field')." \"".
+ get_loc_field_name($tbl_entry, $field)."\""; ?>
+ </p>
+ <?php
// Print footer and exit
print_footer(TRUE);
}
@@ -321,7 +321,7 @@
// When All Day is checked, $start_seconds and $end_seconds are disabled and
so won't
// get passed through by the form. We therefore need to set them.
-if (isset($all_day) && ($all_day == "yes"))
+if (!empty($all_day))
{
if ($enable_periods)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits