Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
* refs #3835
Browse files Browse the repository at this point in the history
Conflicts:
	www/lib/HTML/QuickForm.php
  • Loading branch information
Lionel Assepo committed Oct 20, 2015
1 parent 84e4b8c commit de23c00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/lib/HTML/QuickForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,8 @@ function process($callback, $mergeFiles = true)
*/
function accept(&$renderer)
{
$this->createSecurityToken();
$this->addFormRule(array($this, 'checkSecurityToken'));
$renderer->startForm($this);
foreach (array_keys($this->_elements) as $key) {
$element =& $this->_elements[$key];
Expand Down

0 comments on commit de23c00

Please sign in to comment.