diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-08-01 15:00:07 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-08-01 15:00:07 +0200 |
commit | ab976863ae6af8ad915c24f0aa5a68af0062dd53 (patch) | |
tree | 0f066a9e69b9e2a01aa2ac61ebd10b10cb2be965 /lib/filecache.php | |
parent | e13f381189788c74fe08a3f3336d961977ff9dc4 (diff) | |
download | nextcloud-server-ab976863ae6af8ad915c24f0aa5a68af0062dd53.tar.gz nextcloud-server-ab976863ae6af8ad915c24f0aa5a68af0062dd53.zip |
fix sql
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); } } |