BUGFIX getCurrentStep should be called as a method, not a property

This commit is contained in:
Sean Harvey 2008-05-26 04:06:09 +00:00
parent b0f45b505b
commit 2385c23d63

View File

@ -337,7 +337,7 @@ abstract class MultiForm extends Form {
* @param object $form The form that the action was called on * @param object $form The form that the action was called on
*/ */
public function finish($data, $form) { public function finish($data, $form) {
if(!$this->getCurrentStep->isFinalStep()) { if(!$this->getCurrentStep()->isFinalStep()) {
Director::redirectBack(); Director::redirectBack();
return false; return false;
} }