- application/libraries/DocumentExportLib.php now makes use of the application/libraries/SignatureLib.php

- Fixex & improvements
This commit is contained in:
Paolo
2025-09-18 10:40:28 +02:00
parent d54ab06ad4
commit b129bb659b
4 changed files with 94 additions and 93 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ class Documents extends Auth_Controller
$this->load->model('organisation/Studiengang_model', 'StudiengangModel');
$result = $this->StudiengangModel->load($this->input->post_get('stg_kz'));
if (!isError($result) && hasData($result))
/output $filename .= '_' . sanitizeProblemChars(current(getData($result))->kurzbzlang);
$filename .= '_' . sanitizeProblemChars(current(getData($result))->kurzbzlang);
$this->load->model('organisation/Studiensemester_model', 'StudiensemesterModel');
$result = $this->StudiensemesterModel->load($this->input->post_get('ss'));
@@ -296,7 +296,7 @@ class Documents extends Auth_Controller
$fileObj = new stdClass();
$fileObj->file_content = getData($contentResult);
$fileObj->name = $filename,;
$fileObj->name = $filename;
$fileObj->mimetype = isEmptyString($vorlage->mimetype) ? 'application/pdf' : $vorlage->mimetype;
$fileObj->disposition = 'attachment';