From c629c6357c29ab271223551d90653de6b738b6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 23 Sep 2014 06:07:38 +0000 Subject: [PATCH] Warning behoben --- system/checkStudenten.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/system/checkStudenten.php b/system/checkStudenten.php index 668fab6b8..14791d7d4 100644 --- a/system/checkStudenten.php +++ b/system/checkStudenten.php @@ -130,10 +130,13 @@ if($db->db_query($qry)) $studentOrgform = $row->studentorgkz; $orgArray = $orgForm->checkOrgForm($studOrgform); - if(!in_array($studentOrgform, $orgArray)) + if(is_array($orgArray)) { - $ausgabe[$row->studiengang][3][]= $row->student_uid; - $text.= "Student_uid: $student_uid
"; + if(!in_array($studentOrgform, $orgArray)) + { + $ausgabe[$row->studiengang][3][]= $row->student_uid; + $text.= "Student_uid: $student_uid
"; + } } } }