From: Robin Appelman Date: Sun, 4 Jul 2010 08:02:10 +0000 (+0200) Subject: fix silly mistake in previous commit X-Git-Tag: v3.0~359 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0d299885befea3005d24330d32c0fa40075a2c94;p=nextcloud-server.git fix silly mistake in previous commit --- diff --git a/inc/HTTP/WebDAV/Server/Filesystem.php b/inc/HTTP/WebDAV/Server/Filesystem.php index 7826a690a55..6c8382b4467 100755 --- a/inc/HTTP/WebDAV/Server/Filesystem.php +++ b/inc/HTTP/WebDAV/Server/Filesystem.php @@ -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));