From b47776ac24bc54deb80ef3c2fc8e3a2b2bc2f60a Mon Sep 17 00:00:00 2001 From: kindlm Date: Fri, 18 Aug 2017 10:38:58 +0200 Subject: [PATCH] Modified function check_infrastruktur --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 152f477dc..036b9d1a3 100755 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -949,7 +949,7 @@ function check_infrastruktur($uid) $db = new basis_db(); // checken, ob der user eine oezuordnung der infrastruktur hat - $sql_query="SELECT 1 FROM public.tbl_benutzerfunktion WHERE funktion_kurzbz = 'oezuordnung' and oe_kurzbz in ('Infrastruktur', 'Systementwicklung', 'IT-ServiceDesk', 'Empfang', 'Haustechnik', 'ITService', 'LVPlanung','ITBereich') and (datum_bis > now() or datum_bis is NULL) and uid=".$db->db_add_param($uid); + $sql_query="SELECT 1 FROM public.tbl_benutzerfunktion WHERE funktion_kurzbz = 'oezuordnung' and oe_kurzbz in ('Infrastruktur', 'SystemEntwicklung', 'IT-ServiceDesk', 'Empfang', 'Haustechnik', 'ITService', 'LVPlanung','ITBereich','SystemSupport') and (datum_bis > now() or datum_bis is NULL) and uid=".$db->db_add_param($uid); //echo $sql_query; if($db->db_query($sql_query)) {