File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
11
11
### Deprecated
12
12
### Removed
13
13
### Fixed
14
+ - Boolean value for Polls gets saved correctly in MySQL DB.
14
15
### Security
15
16
16
17
## [ 0.60.0] - 2019-08-16
Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ public static function insertPollRequest(Poll $poll)
845
845
$ sth ->bindValue (':id ' , $ poll ->getId ());
846
846
$ sth ->bindValue (':question ' , $ poll ->getQuestion ());
847
847
$ sth ->bindValue (':options ' , self ::entitiesArrayToJson ($ poll ->getOptions () ?: null ));
848
- $ sth ->bindValue (':is_closed ' , $ poll ->getIsClosed ());
848
+ $ sth ->bindValue (':is_closed ' , $ poll ->getIsClosed (), PDO :: PARAM_INT );
849
849
$ sth ->bindValue (':created_at ' , self ::getTimestamp ());
850
850
851
851
return $ sth ->execute ();
You can’t perform that action at this time.
0 commit comments