]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix the fix about filecache and postgres
authorBrice Maron <brice@bmaron.net>
Sun, 24 Jun 2012 20:49:48 +0000 (20:49 +0000)
committerBrice Maron <brice@bmaron.net>
Sun, 24 Jun 2012 20:49:48 +0000 (20:49 +0000)
lib/filecache.php

index 13d7b34c9d72e33c4e313b9e7c9ff91086d7bc08..d956f34dc48790be0611be8729751c0102786922 100644 (file)
@@ -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.'=?';
                        }
                }