diff options
Diffstat (limited to 'lib/filecache.php')
-rw-r--r-- | lib/filecache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index e475581f14e..d169cb1b563 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -140,7 +140,7 @@ class OC_FileCache{ } if(isset($data['mimetype'])){ $arguments[]=dirname($data['mimetype']); - $queryParts[]='mimepart=?'; + $queryParts[]='`mimepart`=?'; } $arguments[]=$id; @@ -148,7 +148,7 @@ class OC_FileCache{ $query=OC_DB::prepare($sql); $result=$query->execute($arguments); if(OC_DB::isError($result)){ - OC_Log::write('files','error while updating file('.$path.') in cache',OC_Log::ERROR); + OC_Log::write('files','error while updating file id('.$id.') in cache',OC_Log::ERROR); } } |