Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Nov 15, 2017
1 parent 26a3e2c commit 1326710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ private function getIndex($indexedFieldName)
$entry = $this->arrayToEntry($entryArray);
foreach ($indexedFields as $indexName => $indexDefinition) {
if (is_array($indexDefinition)) {
$reference = &$this->index[$indexName];
// compound index
$reference = &$this->index[$indexName];
foreach ($indexDefinition as $indexDefinitionPart) {
// limited length of field
if (is_array($indexDefinitionPart)) {
Expand Down

0 comments on commit 1326710

Please sign in to comment.