From 4dbad1bd7292465c6c56ed7a03a28d3a28d08367 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 14 Jun 2006 00:39:45 +0000 Subject: 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 --- include/calendar_monthly.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/calendar_monthly.class.php') 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()); } -- cgit v1.2.3