Revision: 1536
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1536&view=rev
Author:   cimorrison
Date:     2010-10-22 15:56:47 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
Fixed bug which caused the last slot to be unbookable (and also an All Day 
booking to have the wrong values in the form)

Modified Paths:
--------------
    mrbs/branches/from_to_bookings/web/edit_entry.php

Modified: mrbs/branches/from_to_bookings/web/edit_entry.php
===================================================================
--- mrbs/branches/from_to_bookings/web/edit_entry.php   2010-10-22 15:43:45 UTC 
(rev 1535)
+++ mrbs/branches/from_to_bookings/web/edit_entry.php   2010-10-22 15:56:47 UTC 
(rev 1536)
@@ -620,6 +620,7 @@
     {
       $first = (($morningstarts * 60) + $morningstarts_minutes) * 60;
       $last = (($eveningends * 60) + $eveningends_minutes) * 60;
+      $last = $last + $resolution;
     }
     echo "<div id=\"div_start_date\">\n";
     echo "<label for=\"start_datepicker\">" . get_vocab("start") . 
":</label>\n";


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to