projects
/
iserv-mod-room-reservation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_roomReservationBookingTable: if weekends are not shown, show the next week _also_...
[iserv-mod-room-reservation.git]
/
includes
/
mod_roomReservationBookingTable.inc
diff --git
a/includes/mod_roomReservationBookingTable.inc
b/includes/mod_roomReservationBookingTable.inc
index
8d017f5
..
fd85ef1
100644
(file)
--- a/
includes/mod_roomReservationBookingTable.inc
+++ b/
includes/mod_roomReservationBookingTable.inc
@@
-172,7
+172,7
@@
class mod_roomReservationBookingsTable /* extends mclWidget */ {
$this->setRoom($aoRooms[0]->getName());
}
// if weekends are not shown, show the next week already on saturday
$this->setRoom($aoRooms[0]->getName());
}
// if weekends are not shown, show the next week already on saturday
- if(!$this->oCfg->isShowWeekend() and
date("w") == 6
) {
+ if(!$this->oCfg->isShowWeekend() and
(date("w") == 6 or date("w") == 0)
) {
$this->setDate(strtotime("monday"));
} else {
$this->setDate(time());
$this->setDate(strtotime("monday"));
} else {
$this->setDate(time());
This page took
0.021633 seconds
and
4
git commands to generate.