Revision: 2458
https://sourceforge.net/p/mrbs/code/2458/
Author: cimorrison
Date: 2012-10-03 11:26:42 +0000 (Wed, 03 Oct 2012)
Log Message:
-----------
Fixed bug causing the last slot to be omitted from the list of slots
Modified Paths:
--------------
mrbs/branches/flexible_day_end/web/edit_entry.php
Modified: mrbs/branches/flexible_day_end/web/edit_entry.php
===================================================================
--- mrbs/branches/flexible_day_end/web/edit_entry.php 2012-10-03 11:20:58 UTC
(rev 2457)
+++ mrbs/branches/flexible_day_end/web/edit_entry.php 2012-10-03 11:26:42 UTC
(rev 2458)
@@ -153,7 +153,7 @@
$last += 24*60*60;
}
- for ($s = $first; $s < $last; $s += $resolution)
+ for ($s = $first; $s <= $last; $s += $resolution)
{
$slot_string = ($enable_periods) ? $periods[intval(($s-$base)/60)] :
hour_min($s);
$html .= "<option value=\"$s\"";
------------------------------------------------------------------------------
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