mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
bug 388: html errors in month_calendar
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1351 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user