From feb3a4be08864df488e08b20ddb226a7ca52b7c1 Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Fri, 23 Feb 2018 11:13:10 +0100 Subject: [PATCH] Funktion getStudiengaengeDokument ignoriert Abgewiesene und Abbrecher --- include/dokument.class.php | 1 + include/functions.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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();