Merge pull request #113 from webbuilders-group/derived-id-override-fix
BUGFIX: Fixed issue where the $id variable would be overridden in derived fields
This commit is contained in:
commit
afe7af18d2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue