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();
// 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);
}