Skip to content

Commit

Permalink
Update shift to correct variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr authored May 24, 2021
1 parent 1557ea5 commit 0c264b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/AlgoliaReindexAllJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function process()

$this->currentStep++;

list($class, $id) = explode('|', array_shift($this->indexData));
list($class, $id) = explode('|', array_shift($remainingChildren));

$obj = DataObject::get_by_id($class, $id);

Expand Down

0 comments on commit 0c264b2

Please sign in to comment.