mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
fix(GridFieldAddNewMultiClass) removed obsolete config param
FIRST_SET has been removed from SS4
This commit is contained in:
parent
0907b2f493
commit
0795113cf4
@ -128,7 +128,7 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
|
|||||||
$title = singleton($class)->i18n_singular_name();
|
$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;
|
$kill_ancestors[$ancestor_to_hide] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user