mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
dfc48d8421
commit
6b66c9beff
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user