From b58a4419ff62943705cd81673ad0b3a7a4fc2d30 Mon Sep 17 00:00:00 2001 From: Rudolf Hangl Date: Mon, 8 Mar 2010 13:24:17 +0000 Subject: [PATCH] --- system/abgabe2opus.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/system/abgabe2opus.php b/system/abgabe2opus.php index c685fb5ee..7bc57932e 100644 --- a/system/abgabe2opus.php +++ b/system/abgabe2opus.php @@ -18,7 +18,7 @@ * Authors: Christian Paminger , * Andreas Oesterreicher , * Rudolf Hangl , - * Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at > + * Gerald Simane-Sequens * ******************************************************************************************************* * abgabe2opus.php @@ -74,6 +74,7 @@ $row_opus=0; $opus_url=OPUS_PATH_PAA; $url_paa=PAABGABE_PATH; $kopiert=''; +$ii=0; function indexdatei($source_opus, $fd) { @@ -1157,9 +1158,9 @@ $qry="SELECT *, tbl_lehreinheit.studiensemester_kurzbz, tbl_projektarbeit.studen JOIN lehre.tbl_lehrveranstaltung USING(lehrveranstaltung_id) JOIN lehre.tbl_lehrfach USING(lehrfach_id) JOIN public.tbl_fachbereich USING(fachbereich_kurzbz) - JOIN lehre.tbl_zeugnisnote USING(lehrveranstaltung_id, studiensemester_kurzbz) + LEFT JOIN lehre.tbl_zeugnisnote USING(lehrveranstaltung_id, studiensemester_kurzbz, student_uid) WHERE ((tbl_projektarbeit.note>0 AND tbl_projektarbeit.note<5) OR (tbl_zeugnisnote.note>0 AND tbl_zeugnisnote.note<5)) AND projekttyp_kurzbz='Diplom' - AND to_char(tbl_projektarbeit.abgabedatum,'YMD')>'".date('Ymd',mktime(0, 0, 0, date('m')-6, date('d'), date('Y')))."' + AND to_char(tbl_projektarbeit.abgabedatum,'YYYYMMDD')>'".date('Ymd',mktime(0, 0, 0, date('m')-6, date('d'), date('Y')))."' AND tbl_projektarbeit.freigegeben "; //echo $qry."
"; @@ -1396,6 +1397,7 @@ if($erg=pg_query($db_conn,$qry)) if(mysql_num_rows($result_chk)>0) { //Datensatz bereits eingetragen + echo "-->".$qry_chk."
"; } else {