BUGFIX Fix checkFieldsForAction() when working with tabs

This commit is contained in:
Andrew O'Neil 2012-02-09 11:46:33 +13:00
parent df716eff45
commit a76c9c3c5e

View File

@ -379,10 +379,9 @@ class Form extends RequestHandler {
if($field = $this->checkFieldsForAction($field->FieldList(), $funcName)) {
return $field;
}
} elseif (!$field->hasMethod($funcName)) {
continue;
} elseif ($field->hasMethod($funcName)) {
return $field;
}
return $field;
}
}