summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-02-23 18:29:47 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-02-23 18:29:47 +0000
commit31bfc7ba58311248b228fb7f21b2e33735fce9d8 (patch)
treef4e9f471682217395667ceb86d185d215841a70f
parentf01672dddcbaab059c2d59ce9a0a63a3c1afc15c (diff)
downloadMPC-31bfc7ba58311248b228fb7f21b2e33735fce9d8.tar.gz
ChangeLogTag: Thu Feb 23 14:10:30 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/ProjectCreator.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index 13455718..8c2556f1 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -2663,10 +2663,11 @@ sub generate_default_components {
$self->process_assignment_add($grtag, $defgroup);
}
if (!defined $self->{$tag}->{$defcomp}->{$newgroup}) {
- $self->{$tag}->{$defcomp}->{$newgroup} = [];
+ $self->{$tag}->{$defcomp}->{$newgroup} = \@front;
+ }
+ else {
+ push(@{$self->{$tag}->{$defcomp}->{$newgroup}}, @front);
}
- push(@{$self->{$tag}->{$defcomp}->{$newgroup}}, @front);
- $self->{$tag}->{$defcomp}->{$newgroup} = \@front;
$self->process_assignment_add($grtag, $newgroup);
}
else {