DOCS: Minor typo
This commit is contained in:
parent
10efe79b93
commit
153e2383e6
|
@ -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