diff --git a/rdf/diplomasupplement.xml.php b/rdf/diplomasupplement.xml.php
index 3621339f0..742de2c5f 100644
--- a/rdf/diplomasupplement.xml.php
+++ b/rdf/diplomasupplement.xml.php
@@ -883,11 +883,13 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$qry_outgoing_note = "
SELECT
- anmerkung, offiziell, positiv, benotungsdatum, lehrform_kurzbz
+ tbl_note.anmerkung, tbl_note.offiziell,
+ tbl_note.positiv, tbl_zeugnisnote.benotungsdatum,
+ tbl_lehrveranstaltung.lehrform_kurzbz
FROM
lehre.tbl_zeugnisnote
- JOIN tbl_lehrveranstaltung using(lehrveranstaltung_id)
- JOIN tbl_note using(note)
+ JOIN lehre.tbl_lehrveranstaltung using(lehrveranstaltung_id)
+ JOIN lehre.tbl_note using(note)
WHERE
lehrveranstaltung_id = ".$db->db_add_param($row_outgoing->lehrveranstaltung_id)."
AND student_uid = ".$db->db_add_param($uid_arr[$i]);
@@ -948,7 +950,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
'.$lehrform_kurzbz_outgoing.'
- ort.', '.$row_outgoing->universitaet.'. All credits earned during the International Semester Abroad (ISA) are fully credited for the '.$start.$auslandssemester_start.' semester at the UAS Technikum Wien.'.$projektarbeitszusatz.']]>
+ ort.', '.$row_outgoing->universitaet.'. All credits earned during the International Semester Abroad (ISA) are fully credited for the '.$start.$auslandssemester_start.' semester at the UAS Technikum Wien. '.$projektarbeitszusatz.']]>
'.$row_outgoing->ects.'
'.$row_outgoing->semesterstunden.'
'.$note_outgoing.'