Remove getValue from Assets, except for those in getEditForm which will go away later.

This commit is contained in:
Colin Kuskie 2010-02-16 15:51:01 -08:00
parent 1b647c70f2
commit ec5208839e
9 changed files with 45 additions and 45 deletions

View file

@ -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;