diff --git a/rdf/diplomasupplement.xml.php b/rdf/diplomasupplement.xml.php
index 46b5e169c..388b89512 100644
--- a/rdf/diplomasupplement.xml.php
+++ b/rdf/diplomasupplement.xml.php
@@ -27,6 +27,7 @@ require_once('../include/functions.inc.php');
require_once('../include/datum.class.php');
require_once('../include/basis_db.class.php');
require_once('../include/studiengang.class.php');
+require_once('../include/prestudent.class.php');
$datum = new datum();
$db = new basis_db();
@@ -85,10 +86,27 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
else
echo ' ';
- if($row->organisationsform=='b')
+ if($row->organisationsform=='m')
+ {
+ //Bei Mischformen, die Organisationsform aus dem Status nehmen
+ $prestudent = new prestudent();
+ $prestudent->getLastStatus($row->prestudent_id);
+ switch($prestudent->orgform_kurzbz)
+ {
+ case 'BB': $row->organisationsform = 'b'; break;
+ case 'VZ': $row->organisationsform = 'v'; break;
+ case 'FST': $row->organisationsform = 'f'; break;
+ }
+
+ }
+
+ if($row->organisationsform=='b' || $row->organisationsform=='BB')
echo ' Berufbegleitendes Studium/Part-time degree programm';
- else
+ elseif($row->organisationsform=='v' || $row->organisationsform=='VZ')
echo ' Vollzeitstudium/Full-time degree programm';
+ else
+ echo ' Fernstudium/Distance study';
+
if($row->typ=='d')
{
echo ' ';