mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
6fe74fb41b
@ -320,9 +320,8 @@ class FieldList extends ArrayList
|
||||
$this->flushFieldsCache();
|
||||
|
||||
// Find the tab
|
||||
$tab = $this->findTab($tabName);
|
||||
if ($tab) {
|
||||
// Add the fields to the end of this set
|
||||
if ($tab = $this->findTab($tabName)) {
|
||||
// Remove the fields from this set
|
||||
foreach ($fields as $field) {
|
||||
$tab->removeByName($field);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user