Remove getValue from Assets, except for those in getEditForm which will go away later.
This commit is contained in:
parent
1b647c70f2
commit
ec5208839e
9 changed files with 45 additions and 45 deletions
|
|
@ -678,7 +678,7 @@ Extend the base method to do captcha processing.
|
|||
sub processPropertiesFromFormPost {
|
||||
my $self = shift;
|
||||
|
||||
if ($self->isNew && $self->getParent->getValue('useCaptcha')) {
|
||||
if ($self->isNew && $self->getParent->useCaptcha) {
|
||||
my $captchaOk = $self->session->form->process("captcha","Captcha");
|
||||
|
||||
return [ 'invalid captcha' ] unless $captchaOk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue