aboutsummaryrefslogtreecommitdiffstats
path: root/include/calendar_weekly.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/calendar_weekly.class.php')
-rw-r--r--include/calendar_weekly.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/calendar_weekly.class.php b/include/calendar_weekly.class.php
index a8a167679..f8df4afc6 100644
--- a/include/calendar_weekly.class.php
+++ b/include/calendar_weekly.class.php
@@ -54,11 +54,11 @@ class Calendar extends CalendarBase
'labels' => null
),
array(
- 'sql'=> pwg_db_get_week($this->date_field)+1,
+ 'sql'=> pwg_db_get_week($this->date_field).'+1',
'labels' => $week_no_labels,
),
array(
- 'sql'=> pwg_db_get_dayofweek($this->date_field)-1,
+ 'sql'=> pwg_db_get_dayofweek($this->date_field).'-1',
'labels' => $lang['day']
),
);