Skip to content

Commit

Permalink
[BUGFIX] Do not quote the prepared statement arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Mar 31, 2015
1 parent 4cf22c7 commit 77c793f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Flowpack/SimpleSearch/Domain/Service/SqLiteIndex.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function insertOrUpdatePropertiesToIndex($properties, $identifier) {
$statementArgumentNumber = 1;
foreach ($properties as $propertyName => $propertyValue) {
$propertyColumnNamesString .= '"' . $propertyName . '", ';
$valueNamesString .= '"' . $this->preparedStatementArgumentName($statementArgumentNumber) . '", ';
$valueNamesString .= $this->preparedStatementArgumentName($statementArgumentNumber) . ', ';
$statementArgumentNumber++;
}
$propertyColumnNamesString = trim($propertyColumnNamesString);
Expand Down Expand Up @@ -240,4 +240,4 @@ protected function adjustIndexToGivenProperties(array $propertyNames) {
}
}
}
}
}

0 comments on commit 77c793f

Please sign in to comment.