Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Commit

Permalink
Fix small issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiloc committed Oct 27, 2015
1 parent 57eeb94 commit 2c73d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AlgoliaEloquentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function _reindex($safe = true)

if ($safe) {
for ($i = 0; $i < count($indices); $i++) {
$modelHelper->algolia->moveIndex($indicesTmp[$i]->indexName, $indices[0]->indexName);
$modelHelper->algolia->moveIndex($indicesTmp[$i]->indexName, $indices[$i]->indexName);
}
}
}
Expand Down

0 comments on commit 2c73d99

Please sign in to comment.