Skip to content
Snippets Groups Projects
Commit 0d299885 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix silly mistake in previous commit

parent 8c8979f1
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@
$info["props"][] = $this->mkprop("resourcetype", "");
if ( OC_FILESYSTEM::is_readable($fspath)) {
$info["props"][] = $this->mkprop("getcontenttype", $this->_mimetype($fspath));
} else { "SELECT ns, name, value FROM properties WHERE path = '$path'";
} else {
$info["props"][] = $this->mkprop("getcontenttype", "application/x-non-readable");
}
$info["props"][] = $this->mkprop("getcontentlength", OC_FILESYSTEM::filesize($fspath));
......
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