Fix database error with false bolean value in profile table
This commit is contained in:
parent
0ee5bf55b1
commit
9ff681a460
|
@ -240,7 +240,7 @@ class Profile
|
||||||
'language' => $params['language'] ?? null,
|
'language' => $params['language'] ?? null,
|
||||||
'filled_fields'=> $filled_fields,
|
'filled_fields'=> $filled_fields,
|
||||||
'last_activity'=> $params['last-activity'] ?? null,
|
'last_activity'=> $params['last-activity'] ?? null,
|
||||||
'available' => $available,
|
'available' => [$available, \PDO::PARAM_BOOL],
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->logger->debug(var_export($values, true));
|
$this->logger->debug(var_export($values, true));
|
||||||
|
|
Loading…
Reference in a new issue