Fix database error with false bolean value in profile table

This commit is contained in:
Hypolite Petovan 2022-06-06 01:52:47 -04:00
parent 0ee5bf55b1
commit 9ff681a460

View file

@ -240,7 +240,7 @@ class Profile
'language' => $params['language'] ?? null,
'filled_fields'=> $filled_fields,
'last_activity'=> $params['last-activity'] ?? null,
'available' => $available,
'available' => [$available, \PDO::PARAM_BOOL],
];
$this->logger->debug(var_export($values, true));