aboutsummaryrefslogtreecommitdiffstats
path: root/include/calendar_weekly.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-12-18 21:12:41 +0000
committerrvelices <rv-github@modusoptimus.com>2009-12-18 21:12:41 +0000
commit8c051ea526b4c8436e5fd33c7e2deeecc278da9f (patch)
treec2a2f69df07f5752c6082e3965eaacfa9335c8da /include/calendar_weekly.class.php
parent975188d088f7dc554df05048091d6c6ebe43580d (diff)
merge -r4512 from branch 2.0 to trunk
web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST only git-svn-id: http://piwigo.org/svn/trunk@4513 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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']
),
);