Skip to content
Snippets Groups Projects
Commit e26fd577 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed error that occurred during ZIP upload, re #17

parent 239d04f9
No related branches found
No related tags found
No related merge requests found
......@@ -490,7 +490,6 @@ class OwncloudFolder extends VirtualFolderType {
}
}
}
//var_dump($this->files); die();
$this->did_propfind = true;
}
......@@ -538,7 +537,7 @@ class OwncloudFolder extends VirtualFolderType {
public function fileExists($name)
{
foreach ($this->getFiles() as $file) {
if ($file->name === $name) {
if ($file->getFilename() === $name) {
return true;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment