From 7ae2e938dce7cbeaa5fa683211a223965c00d624 Mon Sep 17 00:00:00 2001 From: Peter Thaleikis Date: Mon, 30 Nov 2015 22:25:40 +1300 Subject: [PATCH] BUGFIX: remove last MultiFormSessionID --- code/model/MultiForm.php | 9 +++++++++ templates/Includes/MultiFormProgressList.ss | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/code/model/MultiForm.php b/code/model/MultiForm.php index e29ecbc..e125541 100644 --- a/code/model/MultiForm.php +++ b/code/model/MultiForm.php @@ -175,6 +175,15 @@ abstract class MultiForm extends Form { return $this->controller; } + /** + * Returns the get_var to the template engine + * + * @return string + */ + public function get_var() { + return $this->config()->get_var;; + } + /** * Get the current step. * diff --git a/templates/Includes/MultiFormProgressList.ss b/templates/Includes/MultiFormProgressList.ss index 9677a7c..4c50060 100644 --- a/templates/Includes/MultiFormProgressList.ss +++ b/templates/Includes/MultiFormProgressList.ss @@ -1,7 +1,7 @@