Fix the fix about filecache and postgres
This commit is contained in:
parent
e845e56749
commit
564cd82599
1 changed files with 1 additions and 2 deletions
|
@ -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.'=?';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue