diff --git a/include/dokument.class.php b/include/dokument.class.php index 1b8514c9e..e7eb50b05 100644 --- a/include/dokument.class.php +++ b/include/dokument.class.php @@ -826,6 +826,7 @@ class dokument extends basis_db WHERE dokument_kurzbz = ".$this->db_add_param($dokument_kurzbz)." AND person_id =".$this->db_add_param($person_id, FHC_INTEGER)." AND tbl_prestudentstatus.status_kurzbz = 'Interessent' + AND get_rolle_prestudent (prestudent_id, NULL) NOT IN ('Abgewiesener','Abbrecher') ORDER BY kuerzel"; diff --git a/include/functions.inc.php b/include/functions.inc.php index 6f6c5cc3b..447c3f772 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -27,7 +27,7 @@ require_once(dirname(__FILE__).'/personlog.class.php'); // Auth: Benutzer des Webportals /** * DEPRECATED - Use Authentication Class - */ + */ function get_uid() { $auth = new authentication();