Changeset:
41cae1cac811
https://sourceforge.net/p/mrbs/hg-code/ci/41cae1cac81184944ada3c7e7a1e88c227b05bd2
Author:
Campbell Morrison <[email protected]>
Date:
Tue Feb 21 11:49:46 2017 +0000
Log message:
Fixed bug to do with the booking day. Haven't worked out what the symptoms
would be.
diffstat:
web/functions.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 91821fae5745 -r 41cae1cac811 web/functions.inc
--- a/web/functions.inc Wed Feb 15 16:29:19 2017 +0000
+++ b/web/functions.inc Tue Feb 21 11:49:46 2017 +0000
@@ -623,7 +623,7 @@
if ($back)
{
$new_t = get_end_last_slot($date['mon'], $date['mday'], $date['year']);
- if ($new_t > t)
+ if ($new_t > $t)
{
$new_t = get_end_last_slot($date['mon'], $date['mday'] - 1,
$date['year']);
}
@@ -631,7 +631,7 @@
else
{
$new_t = get_start_first_slot($date['mon'], $date['mday'], $date['year']);
- if ($new_t < t)
+ if ($new_t < $t)
{
$new_t = get_start_first_slot($date['mon'], $date['mday'] + 1,
$date['year']);
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits