Nur aktive Personen in der Urlaubsliste anzeigen

This commit is contained in:
Andreas Österreicher
2010-10-01 12:39:09 +00:00
parent 6545d75270
commit 41c65184e8
+1 -1
View File
@@ -306,7 +306,7 @@
if($untergebene!='')
{
$qry = "SELECT * FROM public.tbl_person JOIN public.tbl_benutzer USING(person_id) WHERE uid in($untergebene) ORDER BY nachname, vorname";
$qry = "SELECT * FROM public.tbl_person JOIN public.tbl_benutzer USING(person_id) WHERE uid in($untergebene) and tbl_benutzer.aktiv ORDER BY nachname, vorname";
if($result = $db->db_query($qry))
{