Restricted to upload only pdf files

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-01-25 18:23:59 +01:00
committed by cris-technikum
parent aefd0842db
commit 5b77a5d08f
2 changed files with 2 additions and 2 deletions
@@ -129,7 +129,7 @@ class requestAnrechnung extends Auth_Controller
'insertvon' => $this->_uid
);
if(isError($uploaddata = $this->dmslib->upload($dms, array('jpg', 'pdf'))))
if(isError($uploaddata = $this->dmslib->upload($dms, array('pdf'))))
{
show_error(getError($uploaddata));
}