mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Fixed the $hide_ancestor static on SiteTree subclasses so that it actually works.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48049 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
99a0cb43b5
commit
b811884441
@ -259,7 +259,8 @@ JS;
|
||||
if ($kill_ancestors) {
|
||||
foreach ($kill_ancestors as $mark) {
|
||||
// unset from $classes
|
||||
unset($classes[$mark]);
|
||||
$idx = array_search($mark, $classes);
|
||||
unset($classes[$idx]);
|
||||
}
|
||||
}
|
||||
foreach($classes as $class) {
|
||||
|
Loading…
Reference in New Issue
Block a user