fixed [ 1265788 ] SyndicatedContent *not working* in 6.7.x

This commit is contained in:
JT Smith 2005-08-23 16:29:51 +00:00
parent 3e587762be
commit 2372905928
4 changed files with 12 additions and 11 deletions

View file

@ -112,7 +112,10 @@ sub toHtml {
delete $templateList->{$assetId};
}
}
my $selectList = WebGUI::Form::SelectList->new(
# not sure why, but for some reason this fails under certain circumstances unless defined
# in this manner. The syndicated content asset is an example where it fails.
my $cmd = "WebGUI::Form::SelectList";
my $selectList = $cmd->new(
id=>$self->{id},
name=>$self->{name},
options=>$templateList,