Title: SF.net SVN: mrbs:[2449] mrbs/branches/flexible_day_end/web/edit_entry.php
- Revision
- 2449
- Author
- cimorrison
- Date
- 2012-10-02 09:32:47 +0000 (Tue, 02 Oct 2012)
Log Message
Fixed bug where the correct end slot options weren't generated when the booking day was 24 hours long and didn't start at midnight.
Modified Paths
Diff
Modified: mrbs/branches/flexible_day_end/web/edit_entry.php (2448 => 2449)
--- mrbs/branches/flexible_day_end/web/edit_entry.php 2012-10-01 20:52:55 UTC (rev 2448)
+++ mrbs/branches/flexible_day_end/web/edit_entry.php 2012-10-02 09:32:47 UTC (rev 2449)
@@ -133,7 +133,7 @@
// Construct an array of times
$s_array = array();
- if ($first <= $last)
+ if ($first < $last)
{
// The simple case where the booking day is contained within the calendar day
for ($s = $first; $s <= $last; $s += $resolution)
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits