fix silly mistake in previous commit

This commit is contained in:
Robin Appelman 2010-07-04 10:02:10 +02:00
parent 8c8979f11e
commit 0d299885be
1 changed files with 1 additions and 1 deletions

View File

@ -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));