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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-23 10:59:32 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-23 10:59:32 +0300
commit93063c353f29647e6ab11fa3ae96a708a7457d67 (patch)
tree351aa19bae251c6cce28f0b4500639c09946b59e /lib/Migration
parentcc1e7bcc30530604511d6461ad99219c8a78383e (diff)
Fix update query
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version11000Date20200922161218.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Migration/Version11000Date20200922161218.php b/lib/Migration/Version11000Date20200922161218.php
index 29a87a6d9..a43760f3f 100644
--- a/lib/Migration/Version11000Date20200922161218.php
+++ b/lib/Migration/Version11000Date20200922161218.php
@@ -113,7 +113,8 @@ class Version11000Date20200922161218 extends SimpleMigrationStep {
$query->setParameter('enabled', $intEnabled, IQueryBuilder::PARAM_INT)
->setParameter('pid', $values['pid'], IQueryBuilder::PARAM_INT)
- ->setParameter('json_values', $encodedNewValues, IQueryBuilder::PARAM_STR);
+ ->setParameter('json_values', $encodedNewValues, IQueryBuilder::PARAM_STR)
+ ->setParameter('id', $bridge['id'], IQueryBuilder::PARAM_INT);
$query->execute();
}
}