Fix typo introduced into Group.pm

This commit is contained in:
Colin Kuskie 2012-01-31 15:37:08 -08:00
parent 20e49b51d6
commit 78159c9795

View file

@ -1627,7 +1627,7 @@ sub resetGroupFields {
ASSET: foreach my $assetClass ($db->buildArray('SELECT DISTINCT className FROM asset')) { ASSET: foreach my $assetClass ($db->buildArray('SELECT DISTINCT className FROM asset')) {
my $definition = eval { WebGUI::Pluggable::instanciate($assetClass, 'definition', [$session]); }; my $definition = eval { WebGUI::Pluggable::instanciate($assetClass, 'definition', [$session]); };
if ($@) { if ($@) {
$session->log->error("Unable to load className: " . $className . " when looking for asset definitions: " . $@); $session->log->error("Unable to load className: " . $assetClass . " when looking for asset definitions: " . $@);
next ASSET; next ASSET;
} }
SUBDEF: foreach my $subdef (@{ $definition }) { SUBDEF: foreach my $subdef (@{ $definition }) {