Fix showifmore
This commit is contained in:
parent
041a7f54e3
commit
72e4c00760
@ -1684,7 +1684,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
|
||||
print "\n";
|
||||
print '<!-- start event '.$i.' -->'."\n";
|
||||
$morecss = '';
|
||||
if ($i >= $maxprint) {
|
||||
if ($maxprint && $i >= $maxprint) {
|
||||
$morecss = 'showifmore';
|
||||
}
|
||||
if ($event->type == 'holiday' && !GETPOST('check_birthday')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user