diff options
author | Tortue Torche <tortuetorche@users.noreply.github.com> | 2019-12-10 17:22:53 +0300 |
---|---|---|
committer | Tortue Torche <tortuetorche@users.noreply.github.com> | 2019-12-10 17:22:53 +0300 |
commit | c344e17844e98b41ed769739c26151104bd76b65 (patch) | |
tree | 8c539f3edfbd3fa4252e2887f2f70accf14c0d9d /lib/Db | |
parent | 341ff62f07ee7b4405ad2e6aae583d67f256263d (diff) |
The 'show_results' column in the 'polls_events' table should be a boolean, not a string
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Event.php b/lib/Db/Event.php index 2333c33a..715f647d 100644 --- a/lib/Db/Event.php +++ b/lib/Db/Event.php @@ -92,7 +92,7 @@ class Event extends Entity implements JsonSerializable { 'fullAnonymous' => boolval($this->fullAnonymous), 'allowMaybe' => boolval($this->allowMaybe), 'voteLimit' => $this->voteLimit, - 'showResults' => $this->showResults, + 'showResults' => boolval($this->showResults), 'deleted' => boolval($this->deleted), 'deleteDate' => $this->deleteDate ]; |