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
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-12-22 13:37:01 +0300
committerdartcafe <github@dartcafe.de>2018-12-22 13:37:01 +0300
commit3ca333159a8a2fc2064da860530bc8b9a82ea90f (patch)
tree0fdc137c54d9b8a2b1c5001cce51b716d380155b /lib/Migration
parent4927dc22c0fcb2407ac052f899f91bee0a189899 (diff)
#454 fix PostgeSQL with workaround
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version0009Date20181125061900.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Migration/Version0009Date20181125061900.php b/lib/Migration/Version0009Date20181125061900.php
index 967e71e2..b1e3315a 100644
--- a/lib/Migration/Version0009Date20181125061900.php
+++ b/lib/Migration/Version0009Date20181125061900.php
@@ -360,9 +360,9 @@ class Version0009Date20181125061900 extends SimpleMigrationStep {
->from('polls_options')
// ->where($queryFind->expr()->eq('poll_id', $pollId))
// ->andWhere($queryFind->expr()->eq('poll_option', $text));
- ->where('poll_id = "' . $pollId . '"')
- ->andWhere('poll_option_text ="' . $text . '"');
-
+ ->where('poll_id = \'' . $pollId . '\'')
+ ->andWhere('poll_option_text =\'' . $text . '\'');
+
$resultFind = $queryFind->execute();
$row = $resultFind->fetch();