Fehlerhafte Anzeige bei Download von Anträgen

This commit is contained in:
cgfhtw
2023-07-10 14:36:54 +02:00
parent 25258f7d87
commit 3219f43e6d
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class studierendenantrag extends basis_db
*/
public function loadUserAntrag($prestudent_id, $stsem = null)
{
$qry = "SELECT * FROM campus.tbl_studierendenantrag WHERE prestudent_id=" . $this->db_add_param($prestudent_id, FHC_INTEGER);
$qry = "SELECT * FROM campus.tbl_studierendenantrag WHERE typ IN ('Abmeldung','AbmeldungStgl','Unterbrechung') AND campus.get_status_studierendenantrag(studierendenantrag_id)='Genehmigt' AND prestudent_id=" . $this->db_add_param($prestudent_id, FHC_INTEGER);
if ($stsem)
{