Fix the fix about filecache and postgres

This commit is contained in:
Brice Maron 2012-06-24 20:49:48 +00:00
parent e845e56749
commit 564cd82599
1 changed files with 1 additions and 2 deletions

View 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.'=?';
}
}