mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Modify Forge to accept multiple hidden params (this was broken by an
API change in K24).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user