getEditForm returns FormBuilder and csrfToken should be added by www_edit
This commit is contained in:
parent
f33f4db65b
commit
2e720d6899
2 changed files with 6 additions and 9 deletions
|
|
@ -418,7 +418,8 @@ sub www_edit {
|
|||
return $session->privilege->insufficient() unless $admin->canManage;
|
||||
|
||||
my $form = $self->getEditForm;
|
||||
$form->submit;
|
||||
$form->addField( 'csrfToken', name => 'csrfToken' );
|
||||
$form->addField( "submit", name => "submit" );
|
||||
|
||||
my $processUrl = $self->session->url->getSiteURL.'/?shop=pay&method=do&do=processTransaction&paymentGatewayId='.$self->getId;
|
||||
my $output = '<br />';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue