mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: removing search&replace victim, using unpopulated cache. Reverted to AllChildren, which calls the cache itself. (from r98111)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102598 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
21299ba686
commit
5044de817e
@ -363,7 +363,7 @@ class Hierarchy extends DataObjectDecorator {
|
||||
* @var array $idList Array to put results in.
|
||||
*/
|
||||
public function loadDescendantIDListInto(&$idList) {
|
||||
if($children = $this->_cache_allChildren) {
|
||||
if($children = $this->AllChildren()) {
|
||||
foreach($children as $child) {
|
||||
if(in_array($child->ID, $idList)) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user