From 75ce791dcac81226839c6f141ac03aa7f628b797 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Sat, 19 Apr 2008 01:23:28 +0000 Subject: [PATCH] Added documentation --- code/MultiForm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/MultiForm.php b/code/MultiForm.php index 035ca58..9f5ce6e 100644 --- a/code/MultiForm.php +++ b/code/MultiForm.php @@ -94,6 +94,7 @@ abstract class MultiForm extends Form { $startStepClass = $this->stat('start_step'); $urlType = $this->stat('url_type'); + // Check if there was a start step defined on the subclass of MultiForm if(!isset($startStepClass)) user_error('MultiForm::init(): Please define a $startStep on ' . $this->class, E_USER_ERROR); // If there's a MultiFormSessionID variable set, find that, otherwise create a new session