aboutsummaryrefslogtreecommitdiffstats
path: root/include/calendar_monthly.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-14 00:39:45 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-14 00:39:45 +0000
commit4dbad1bd7292465c6c56ed7a03a28d3a28d08367 (patch)
tree3b130a99ab98d9e298c58e3be131d9b2053747a3 /include/calendar_monthly.class.php
parent4a5f6b899983d2d1b381f263948a9bcfe2c89045 (diff)
merge r1351 from branch-1_6 to trunk (bug 388: html errors in month_calendar)
git-svn-id: http://piwigo.org/svn/trunk@1352 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/calendar_monthly.class.php')
-rw-r--r--include/calendar_monthly.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/calendar_monthly.class.php b/include/calendar_monthly.class.php
index 5c55dbe5d..214d77cd8 100644
--- a/include/calendar_monthly.class.php
+++ b/include/calendar_monthly.class.php
@@ -426,7 +426,7 @@ SELECT file,tn_ext,path, width, height, DAYOFWEEK('.$this->date_field.')-1 as do
$day++)
{
$dow = ($first_day_dow + $day-1)%7;
- if ($dow==0)
+ if ($dow==0 and $day!=1)
{
$template->assign_block_vars('calendar.thumbnails.row', array());
}