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.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98111 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
caff92709f
commit
18b36a60ca
@ -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