diff options
Diffstat (limited to 'lib/filecache/cached.php')
-rw-r--r-- | lib/filecache/cached.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filecache/cached.php b/lib/filecache/cached.php index 17a792a23d4..1e17666717e 100644 --- a/lib/filecache/cached.php +++ b/lib/filecache/cached.php @@ -58,7 +58,7 @@ class OC_FileCache_Cached{ if($parent==-1){ return array(); } - $query=OC_DB::prepare('SELECT path,name,ctime,mtime,mimetype,size,encrypted,versioned,writable FROM *PREFIX*fscache WHERE parent=? AND (mimetype LIKE ? OR mimetype = ?)'); + $query=OC_DB::prepare('SELECT id,path,name,ctime,mtime,mimetype,size,encrypted,versioned,writable FROM *PREFIX*fscache WHERE parent=? AND (mimetype LIKE ? OR mimetype = ?)'); $result=$query->execute(array($parent, $mimetype_filter.'%', 'httpd/unix-directory'))->fetchAll(); if(is_array($result)){ return $result; |