more bug fixes

This commit is contained in:
JT Smith 2006-01-13 19:51:51 +00:00
parent a6e5450b64
commit 3feda4d3f3
4 changed files with 18 additions and 18 deletions

View file

@ -1420,7 +1420,7 @@ sub www_add {
$self->session->errorHandler->security("tried to call an invalid class ".$class);
return "";
}
if ($self->session->form->process("'prototype'")) {
if ($self->session->form->process('prototype')) {
my $prototype = WebGUI::Asset->new($self->session->form->process("prototype"),$class);
foreach my $definition (@{$prototype->definition($self->session)}) { # cycle through rather than copying properties to avoid grabbing stuff we shouldn't grab
foreach my $property (keys %{$definition->{properties}}) {