diff --git a/pmd-web/src/webpmd.pl b/pmd-web/src/webpmd.pl index 4157da76da..47308f80c4 100644 --- a/pmd-web/src/webpmd.pl +++ b/pmd-web/src/webpmd.pl @@ -80,11 +80,9 @@ sub loadProjectList() { my $jobdata=; close(FILE); my $project = PMD::Project->new($jobdata); - my $jobtext=""; + my $jobtext=$project->getTitle(); if (-e $project->getRptFile()) { $jobtext="getRptURL]}\">@{[$project->getTitle()]}"; - } else { - $jobtext=$project->getTitle(); } $result="${result}${jobtext}getUnixName()]}.sf.net/\">http://@{[$project->getUnixName()]}.sf.net/@{[$project->getLines()]}"; }