diff --git a/cis/private/lehre/abgabe_lektor_details.php b/cis/private/lehre/abgabe_lektor_details.php index 4439d1436..0cfdf583a 100644 --- a/cis/private/lehre/abgabe_lektor_details.php +++ b/cis/private/lehre/abgabe_lektor_details.php @@ -133,7 +133,7 @@ if(isset($_POST["schick"])) WHERE projektarbeit_id='$projektarbeit_id' AND paabgabetyp_kurzbz='$paabgabetyp_kurzbz' AND fixtermin=".($fixtermin==1?'true':'false')." AND datum='$datum' AND kurzbz='$kurzbz'"; if($result=$db->db_query($qrychk)) { - if(pg_num_rows($result)>0) + if($db->db_num_rows($result)>0) { //Datensatz bereits vorhanden } @@ -149,7 +149,7 @@ if(isset($_POST["schick"])) } else { - $row=@pg_fetch_object($result); + $row=@$db->db_fetch_object($result); $qry_typ="SELECT bezeichnung FROM campus.tbl_paabgabetyp WHERE paabgabetyp_kurzbz='".$paabgabetyp_kurzbz."'"; if($result_typ=$db->db_query($qry_typ)) { @@ -308,7 +308,7 @@ $htmlstr .= "