diff --git a/cis/private/lehre/fotoliste.pdf.php b/cis/private/lehre/fotoliste.pdf.php index 3fc04355f..9e7535c04 100644 --- a/cis/private/lehre/fotoliste.pdf.php +++ b/cis/private/lehre/fotoliste.pdf.php @@ -224,8 +224,9 @@ if ($result = $db->db_query($qry)) { else $zusatz = ''; - if ($row->bisio_id != '' && $row->status != 'Incoming' && ($row->bis > $stsemdatumvon || $row->bis == '') && $row->von < $stsemdatumbis) //Outgoing - $zusatz .= '(o)(ab ' . $datum->formatDatum($row->von, 'd.m.Y') . ')'; + if ($row->bisio_id != '' && $row->status != 'Incoming' && ($row->bis > $stsemdatumvon || $row->bis == '') && $row->von < $stsemdatumbis + && (anzahlTage($row->von, $row->bis) >= 30)) //Outgoing + $zusatz .= '(o)(ab '. $datum->formatDatum($row->von, 'd.m.Y'). ')'; if ($row->note == 6) //angerechnet $zusatz .= '(ar)';