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();
|
$this->flushFieldsCache();
|
||||||
|
|
||||||
// Find the tab
|
// Find the tab
|
||||||
$tab = $this->findTab($tabName);
|
if ($tab = $this->findTab($tabName)) {
|
||||||
if ($tab) {
|
// Remove the fields from this set
|
||||||
// Add the fields to the end of this set
|
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
$tab->removeByName($field);
|
$tab->removeByName($field);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user