From 15806ddb9dfe3029d2b6efe2d78fbfe6f8b00b4b Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 17 Apr 2006 13:10:43 +0000 Subject: [PATCH] oops --- lib/WebGUI/Auth/WebGUI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Auth/WebGUI.pm b/lib/WebGUI/Auth/WebGUI.pm index 473bac72d..8415529c1 100644 --- a/lib/WebGUI/Auth/WebGUI.pm +++ b/lib/WebGUI/Auth/WebGUI.pm @@ -173,7 +173,7 @@ sub createAccount { if ($vars->{useCaptcha}) { use WebGUI::Form::Captcha; my $captcha = WebGUI::Form::Captcha->new($self->session,{"name"=>"authWebGUI.captcha"}); - $vars->{'create.form.captcha'} = ''.$captcha->get('subtext').''; + $vars->{'create.form.captcha'} = $captcha->toHtml.''.$captcha->get('subtext').''; $vars->{'create.form.captcha.label'} = $i18n->get("captcha label","AuthWebGUI"); } $vars->{'create.form.username'} = WebGUI::Form::text($self->session,{"name"=>"authWebGUI.username","value"=>$self->session->form->process("authWebGUI.username")});