Merge pull request #9506 from mattclegg/1589076925

DOCS: Minor typo
This commit is contained in:
Robbie Averill 2020-05-10 13:11:11 -07:00 committed by GitHub
commit 6fe74fb41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }