diff --git a/application/libraries/SignatureLib.php b/application/libraries/SignatureLib.php
new file mode 100644
index 000000000..132545219
--- /dev/null
+++ b/application/libraries/SignatureLib.php
@@ -0,0 +1,75 @@
+sendsJson()
+ ->authenticateWith(SIGNATUR_USER, SIGNATUR_PASSWORD)
+ ->body('{"filename": "'.basename($inputFileName).'", "content": "'.base64_encode($inputFileContent).'"}')
+ ->expectsJson()
+ ->send();
+ }
+ }
+ catch(\Httpful\Exception\ConnectionErrorException $cee) // Httpful exception
+ {
+ error_log($cee->getMessage());
+ }
+ catch (Exception $e) // any other exception
+ {
+ error_log($e->getMessage());
+ }
+
+ // If the response is fine
+ if (isset($resultPost->body) && is_object($resultPost->body)
+ && isset($resultPost->body->retval) && is_array($resultPost->body->retval))
+ {
+ return $resultPost->body->retval;
+ }
+
+ // Otherwise return a null as error
+ return null;
+ }
+}
+
diff --git a/cis/private/lehre/abgabe_lektor_details.php b/cis/private/lehre/abgabe_lektor_details.php
index e3bf5c40d..a40136868 100644
--- a/cis/private/lehre/abgabe_lektor_details.php
+++ b/cis/private/lehre/abgabe_lektor_details.php
@@ -37,6 +37,7 @@ require_once('../../../include/phrasen.class.php');
require_once('../../../include/projektarbeit.class.php');
require_once('../../../include/projektbetreuer.class.php');
require_once('../../../include/sancho.inc.php');
+require_once('../../../application/libraries/SignatureLib.php');
if (!$db = new basis_db())
$db=false;
@@ -590,7 +591,9 @@ while ($row=@$db->db_fetch_object($result))
$htmlstr .= "\n";
$htmlstr .= "\n";
$htmlstr .= "
'."\n";
//$htmlstr .= " | ";
$htmlstr .= " | ";
-$htmlstr .= " | \n";
+$htmlstr .= " | \n";
$htmlstr .= " |