From 0d299885befea3005d24330d32c0fa40075a2c94 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 4 Jul 2010 10:02:10 +0200 Subject: [PATCH] fix silly mistake in previous commit --- inc/HTTP/WebDAV/Server/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/HTTP/WebDAV/Server/Filesystem.php b/inc/HTTP/WebDAV/Server/Filesystem.php index 7826a690a5..6c8382b446 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));