diff --git a/cms/tinymce_dms.php b/cms/tinymce_dms.php index 0439ab4f2..2d940d92d 100644 --- a/cms/tinymce_dms.php +++ b/cms/tinymce_dms.php @@ -373,7 +373,7 @@ if(isset($_REQUEST['delete'])) // Alle Versionen der Datei vom Filesystem löschen foreach($dms->result as $obj) { - if(!unlink(DMS_PATH.$obj->filename)) + if(is_file(DMS_PATH.$obj->filename) && !unlink(DMS_PATH.$obj->filename)) $error = true; } if($error) diff --git a/content/notiz.xml.php b/content/notiz.xml.php index 1ec0c2e42..c80bda767 100755 --- a/content/notiz.xml.php +++ b/content/notiz.xml.php @@ -86,6 +86,10 @@ echo ''; class="sortDirectionIndicator" sort="rdf:http://www.technikum-wien.at/notiz/rdf#endeISO" /> +