summaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-24 20:49:48 +0000
committerBrice Maron <brice@bmaron.net>2012-06-24 20:49:48 +0000
commit564cd825997461218c4efbd5d4c3877e1f815353 (patch)
tree9044466c8573adeac70fbb5cecbb6db12e3908f4 /lib/filecache.php
parente845e567496c38aa56cda9f217f52aedf8b05f57 (diff)
downloadnextcloud-server-564cd825997461218c4efbd5d4c3877e1f815353.tar.gz
nextcloud-server-564cd825997461218c4efbd5d4c3877e1f815353.zip
Fix the fix about filecache and postgres
Diffstat (limited to 'lib/filecache.php')
-rw-r--r--lib/filecache.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 13d7b34c9d7..d956f34dc48 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -111,9 +111,8 @@ class OC_FileCache{
foreach(array('size','mtime','ctime','mimetype','encrypted','versioned','writable') as $attribute){
if(isset($data[$attribute])){
//Convert to int it args are false
- if($data[$attribute] === false) $arguments[] = 0;
+ if($data[$attribute] === false) $arguments[] = 0;
else $arguments[] = $data[$attribute];
- $arguments[]=$data[$attribute];
$queryParts[]=$attribute.'=?';
}
}