Revision: 1055
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1055&view=rev
Author:   cimorrison
Date:     2009-03-19 22:52:37 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Fixed a problem with the display of multiple bookings when the first booking in 
the slot starts at morningstarts.

Modified Paths:
--------------
    mrbs/trunk/web/functions.inc

Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc        2009-03-18 21:56:42 UTC (rev 1054)
+++ mrbs/trunk/web/functions.inc        2009-03-19 22:52:37 UTC (rev 1055)
@@ -1027,7 +1027,7 @@
       // one booking but a different one, or else no booking at all.    Then 
       // you know you've gone back one slot too far.
       $first_booking_id = $column[$time_start_t][0]["id"];
-      for ($s = $start_t -$resolution; $s >= $am7; $s -= $resolution)
+      for ($s = $start_t -$resolution; $s > $am7; $s -= $resolution)
       {
         if (isset($column[date($format,$s)][1]["id"]) || 
             !isset($column[date($format,$s)][0]["id"]) ||


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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to