Merge branch 'master' of git@git.st.unitedknowledge.org:webgui_newsletter

This commit is contained in:
Arjan Widlak 2010-09-30 17:27:19 +02:00
commit fdc897d1a3

View file

@ -439,7 +439,7 @@ sub www_edit {
my $configuration = $self->get('configuration') || {};
while ( my( $name, $properties ) = each %fields ) {
$properties->{ name } = $name;
$properties->{ value } = $configuration->{ $name } if exists $properties->{ value };
$properties->{ value } = $configuration->{ $name } if exists $configuration->{ $name };
my $formField = WebGUI::Form::DynamicField->new( $session, %{ $properties } );
my $element = $formField->toHtml; # Works around a bug in WG::Form::Template in < 7.9.8