Changeset:
eaffd1ef9caf
https://sourceforge.net/p/mrbs/hg-code/ci/eaffd1ef9caf564126e747e8b48dd4af467cfdd5
Author:
Campbell Morrison <[email protected]>
Date:
Tue Feb 21 11:45:05 2017 +0000
Log message:
Fixed bug - have'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 ed6b8df3484d -r eaffd1ef9caf web/functions.inc
--- a/web/functions.inc Tue Feb 21 10:29:41 2017 +0000
+++ b/web/functions.inc Tue Feb 21 11:45:05 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