Merged revisions 46074 via svnmerge from

svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46074 | aoneil | 2007-11-30 17:12:47 +1300 (Fri, 30 Nov 2007) | 2 lines
  
  Don't give SecurityID fields a title, as some forms will show it
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46813 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-12-13 22:33:07 +00:00
parent dfc48d8421
commit 6b66c9beff

View File

@ -183,7 +183,7 @@ class Form extends ViewableData {
} }
$fieldsClone = clone $this->fields; $fieldsClone = clone $this->fields;
$fieldsClone->push(new HiddenField('SecurityID', 'SecurityID', $securityID)); $fieldsClone->push(new HiddenField('SecurityID', '', $securityID));
return $fieldsClone; return $fieldsClone;
} else { } else {