From: Brice Maron Date: Sun, 24 Jun 2012 20:49:48 +0000 (+0000) Subject: Fix the fix about filecache and postgres X-Git-Tag: v4.5.0beta1~74^2~403^2~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=564cd825997461218c4efbd5d4c3877e1f815353;p=nextcloud-server.git Fix the fix about filecache and postgres --- 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.'=?'; } }