diff --git a/code/search/SearchIndex.php b/code/search/SearchIndex.php index 817c109..fbf1634 100644 --- a/code/search/SearchIndex.php +++ b/code/search/SearchIndex.php @@ -552,8 +552,8 @@ abstract class SearchIndex extends ViewableData $dirty[$base] = array(); } - foreach ($ids as $id) { - $statefulid = array('id' => $id, 'state' => $state); + foreach ($ids as $rid) { + $statefulid = array('id' => $rid, 'state' => $state); $key = serialize($statefulid); $dirty[$base][$key] = $statefulid; }