From 99aedab48b0044070c286c7f36d0fbf88f7f25b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 15 Oct 2010 08:33:59 +0000 Subject: [PATCH] =?UTF-8?q?Bugfix=20Kollisionspr=C3=BCfung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/lehrstunde.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lehrstunde.class.php b/include/lehrstunde.class.php index 2370eb6d7..e914035c0 100644 --- a/include/lehrstunde.class.php +++ b/include/lehrstunde.class.php @@ -555,7 +555,7 @@ class lehrstunde extends basis_db $sql_query.=" OR (uid='".addslashes($this->lektor_uid)."' AND uid!='_DummyLektor') "; //Wenn eine Kollisionspruefung auf Studentenebene durchgefuehrt wird, werden die LVB nicht gecheckt - if(!$kollision_student) + if($kollision_student=='false') { $sql_query.=" OR (studiengang_kz='".addslashes($this->studiengang_kz)."' AND semester='".addslashes($this->sem)."'"; if ($this->ver!=null && $this->ver!='' && $this->ver!=' ') @@ -567,7 +567,7 @@ class lehrstunde extends basis_db $sql_query.=")"; } $sql_query.=") AND unr!='".addslashes($this->unr)."'"; - + if (!$erg_stpl = $this->db_query($sql_query)) { $this->errormsg=$sql_query.$this->db_last_error();