diff --git a/content/student/studentenoverlay.xul.php b/content/student/studentenoverlay.xul.php
index 9865f2719..41010e0f5 100644
--- a/content/student/studentenoverlay.xul.php
+++ b/content/student/studentenoverlay.xul.php
@@ -204,6 +204,7 @@ else
+
db_add_param($studiensemester_kurzbz)." AND
+ person_id=".$db->db_add_param($row->person_id, FHC_INTEGER)." AND
+ status_kurzbz='Student' AND statusgrund_id = 14";
+ if ( $db->db_query($qry) && ($row_filter = $db->db_fetch_object()) && ($row_filter->anzahl > 0) )
+ {
+ return false;
+ }
+ }
return true;
}