From 564cd825997461218c4efbd5d4c3877e1f815353 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Sun, 24 Jun 2012 20:49:48 +0000 Subject: [PATCH] Fix the fix about filecache and postgres --- lib/filecache.php | 3 +-- 1 file changed, 1 insertion(+), 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.'=?'; } } -- 2.39.5