mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
bugfix
This commit is contained in:
@@ -104,6 +104,12 @@ foreach($prestudent_ids as $pid)
|
||||
$dms->load($row->dms_id);
|
||||
|
||||
$filename = DMS_PATH . $dms->filename;
|
||||
|
||||
if(!file_exists($filename))
|
||||
{
|
||||
$errors[] = "'" . $filename . "': Datei nicht gefunden";
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// this should never happen
|
||||
|
||||
Reference in New Issue
Block a user