Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Db
diff options
context:
space:
mode:
authorTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:22:53 +0300
committerTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:22:53 +0300
commitc344e17844e98b41ed769739c26151104bd76b65 (patch)
tree8c539f3edfbd3fa4252e2887f2f70accf14c0d9d /lib/Db
parent341ff62f07ee7b4405ad2e6aae583d67f256263d (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.php2
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
];