Skip to content

Commit 5b67ca1

Browse files
damcoucammonro
andauthored
Update Setup/Patch/Data/MigrateSuggestionsConfigPatch.php
Co-authored-by: Eric Wright <eric.wright@algolia.com>
1 parent 6b36823 commit 5b67ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Setup/Patch/Data/MigrateSuggestionsConfigPatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function moveIndexingSettings(): void
4141
$whereConfigPathFrom = $connection->quoteInto('path = ?', AutocompleteHelper::NB_OF_QUERIES_SUGGESTIONS);
4242
$select = $connection->select()
4343
->from($configDataTable)
44-
->where($whereConfigPathFrom);
44+
->where('path = ?', AutocompleteHelper::NB_OF_QUERIES_SUGGESTIONS);
4545
$existingValues = $connection->fetchAll($select);
4646

4747
foreach ($existingValues as $item) {

0 commit comments

Comments
 (0)