DOCS: Minor typo

This commit is contained in:
Matt Clegg 2020-05-10 08:01:10 +05:45
parent 10efe79b93
commit 153e2383e6
No known key found for this signature in database
GPG Key ID: 68C4C8DB2D0D1DFE
1 changed files with 2 additions and 3 deletions

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