Skip to content

Commit

Permalink
fix a bug on index update
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Neuhaus committed May 23, 2017
1 parent d77fcb7 commit f40f8df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Adapter/MySQLAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,13 @@ public function getObject($objectId, $data)
',
$this->configuration['table_prefix']
));
$query->bind_param("siis", $data, $timestamp, $row['id'], $this->configuration['indexName']);
$query->bind_param(
"sisi",
$data,
$timestamp,
$this->configuration['indexName'],
$row['id']
);
$query->execute();

return intval($row['id']);
Expand Down

0 comments on commit f40f8df

Please sign in to comment.