aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-06-14 00:38:03 +0000
committerrvelices <rv-github@modusoptimus.com>2006-06-14 00:38:03 +0000
commitc555bfb2aedcbd58469c551942fae56a0402de5a (patch)
tree4d72fc87fe8c49e83fe1dd623bd730c3cae8a291 /include
parent6bca249303f8ebd6837aa740a39403abde48fce7 (diff)
bug 388: html errors in month_calendar
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1351 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-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());
}