fix array ref bug
This commit is contained in:
parent
b46cec1a7b
commit
e2a579ff61
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ sub www_manageProjects {
|
|||
|;
|
||||
my $projects = $db->buildHashRef("select projectId, projectName from TT_projectList where assetId=".$db->quote($self->getId));
|
||||
|
||||
foreach my $project (@{$projects}) {
|
||||
foreach my $project (keys %{$projects}) {
|
||||
my $projectName = $project->{projectName};
|
||||
my $projectId = $project->{projectId};
|
||||
my @tasks = $db->buildArray("select taskName from TT_projectTasks where projectId=".$db->quote($projectId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue