hooks/subject: * not allowed in tag
This commit is contained in:
parent
72800c21cc
commit
18608fe325
1 changed files with 4 additions and 18 deletions
|
@ -490,7 +490,7 @@ sub tag_ref
|
|||
$rendu = $_[2];
|
||||
}
|
||||
else {
|
||||
$rendu = "*";
|
||||
$rendu = "";
|
||||
}
|
||||
|
||||
my $year;
|
||||
|
@ -511,11 +511,7 @@ sub tag_ref
|
|||
my $long_tag;
|
||||
{
|
||||
my $proj_id = $_[1] // "";
|
||||
if ($rendu eq "*") {
|
||||
$long_tag = "ref,$proj_id,,$year";
|
||||
} else {
|
||||
$long_tag = "ref,$proj_id,$rendu,$year";
|
||||
}
|
||||
$long_tag = "ref,$proj_id,$rendu,$year";
|
||||
}
|
||||
|
||||
if ($creation)
|
||||
|
@ -600,13 +596,7 @@ sub tag_tests
|
|||
$project_id = lc $project_id;
|
||||
$project_id =~ s/[^a-z0-9-_]/_/g;
|
||||
|
||||
my $rendu;
|
||||
if ($_[2]) {
|
||||
$rendu = $_[2];
|
||||
}
|
||||
else {
|
||||
$rendu = "*";
|
||||
}
|
||||
my $rendu = $_[2];
|
||||
|
||||
my $year;
|
||||
if ($_[3])
|
||||
|
@ -626,11 +616,7 @@ sub tag_tests
|
|||
my $long_tag;
|
||||
{
|
||||
my $proj_id = $_[1] // "";
|
||||
if ($rendu eq "*") {
|
||||
$long_tag = "tests,$proj_id,,$year";
|
||||
} else {
|
||||
$long_tag = "tests,$proj_id,$rendu,$year";
|
||||
}
|
||||
$long_tag = "tests,$proj_id,$rendu,$year";
|
||||
}
|
||||
|
||||
if ($creation)
|
||||
|
|
Reference in a new issue