mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge pull request #186 from silverstripe-australia/nyeholt-patch-1
fix(GridFieldAddNewMultiClass) removed obsolete config param
This commit is contained in:
commit
cc8276482f
@ -128,7 +128,7 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
|
||||
$title = singleton($class)->i18n_singular_name();
|
||||
}
|
||||
|
||||
if ($ancestor_to_hide = Config::inst()->get($class, 'hide_ancestor', Config::FIRST_SET)) {
|
||||
if ($ancestor_to_hide = Config::inst()->get($class, 'hide_ancestor')) {
|
||||
$kill_ancestors[$ancestor_to_hide] = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user