diff -r 000000000000 -r 4eba9c11703f web/Zend/View/Helper/FormHidden.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/View/Helper/FormHidden.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,66 @@ +_getInfo($name, $value, $attribs); + extract($info); // name, value, attribs, options, listsep, disable + if (isset($id)) { + if (isset($attribs) && is_array($attribs)) { + $attribs['id'] = $id; + } else { + $attribs = array('id' => $id); + } + } + return $this->_hidden($name, $value, $attribs); + } +}