projects
/
iserv-mod-room-reservation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5d73371
)
mod_roomReservationBookingTable: if weekends are not shown, show the next week _also_...
author
rohieb
<devnull@localhost>
Sun, 3 Aug 2008 13:43:58 +0000
(15:43 +0200)
committer
rohieb
<devnull@localhost>
Sun, 3 Aug 2008 13:43:58 +0000
(15:43 +0200)
includes/mod_roomReservationBookingTable.inc
patch
|
blob
|
history
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
- 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 page took
0.030558 seconds
and
4
git commands to generate.