summaryrefslogtreecommitdiff
path: root/modules/forge/libraries
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-31 18:32:24 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-31 18:32:24 -0800
commitee1a032e4dec8dcb85702ac2c30807345feaa7e6 (patch)
treed487969c510ebf301bd994ef86dc23ae569d04e8 /modules/forge/libraries
parent40d496edeef614f7f3bc55d2fb178ea581dcd9f6 (diff)
parent25f936e1edc8c47a789b423b9cadbe071a65256d (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/forge/libraries')
-rw-r--r--modules/forge/libraries/Forge.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/forge/libraries/Forge.php b/modules/forge/libraries/Forge.php
index 5807c849..9179aaeb 100644
--- a/modules/forge/libraries/Forge.php
+++ b/modules/forge/libraries/Forge.php
@@ -299,7 +299,10 @@ class Forge_Core {
}
// Set the form open and close
- $form->open = form::$form_type(arr::remove('action', $this->attr), $this->attr, $hidden);
+ $form->open = form::$form_type(arr::remove('action', $this->attr), $this->attr);
+ foreach ($this->hidden as $hidden) {
+ $form->open .= form::hidden($hidden->name, $hidden->value);
+ }
$form->close = "</form>";
// Set the inputs