-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Hi all,
I have a lots of bugs with postgres. The problem come from the boolean type:
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type boolean: ""
If I replace true argument with 0 it's works! For example:
public function findAllTopicsStickiedByBoardId($boardId, $canViewDeletedTopics = false)
// $params = array(':boardId' => $boardId, ':isSticky' => true); // this ligne throw an exeption
// if we replace true -> 0 its work
$params = array(':boardId' => $boardId, ':isSticky' => 0);
Can anyone tell me how to solve this problem? I can replace all boolean with 0/1 but I would like to find the best way to solve this problem…
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels