BUGFIX Fixed "method is not a string" error in Form::httpSubmission()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@80380 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-06-29 07:01:07 +00:00 committed by Sam Minnee
parent bfce550b30
commit f33ee9a1c3

View File

@ -242,9 +242,11 @@ class Form extends RequestHandler {
// Otherwise, try a handler method on the form object // Otherwise, try a handler method on the form object
} else { } else {
if($this->hasMethod($funcName)) {
return $this->$funcName($vars, $this, $request); return $this->$funcName($vars, $this, $request);
} }
} }
}
/** /**
* Handle a field request * Handle a field request