Changed: Download in CIS Selfservice does not require to be signed anymore

Self-Download is determined by attribute 'stud_selfservice', not by
'signiert' anymore. This is required e.g. for Bachelor diploma, that
should be downloadable but does not need to be signed.
This commit is contained in:
Cris
2020-05-26 09:59:52 +02:00
parent a814debf5b
commit d263216aa0
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -76,7 +76,6 @@ if(isset($_GET['action']) && $_GET['action']=='download')
$akte = new akte();
$akte->load($id);
if ($akte->person_id == $student_studiengang->person_id
&& $akte->signiert
&& $akte->stud_selfservice)
{
if($akte->inhalt!='')
@@ -123,7 +122,6 @@ echo '
});
$(".tablesorter2").tablesorter(
{
sortList: [[1,1]],
headers: { 0: { sorter: false }},
widgets: ["zebra"]
});
+1 -1
View File
@@ -527,7 +527,7 @@ class akte extends basis_db
if(!is_null($stud_selfservice))
$qry.=" AND stud_selfservice=".($stud_selfservice?'true':'false');
$qry.=" ORDER BY erstelltam";
$qry.=" ORDER BY erstelltam DESC";
$this->errormsg = $qry;