Skip to content

Commit

Permalink
id field is needed for deletes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Mar 16, 2020
1 parent 936aef8 commit df66c53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,7 @@ sub feature_list_web_redirects
else {
$redirect->{'http'} = $redirect->{'https'} = 1;
}
$redirect->{'id'} = ($redirect->{'alias'} ? 'alias_' : 'redirect_').$redirect->{'path'};
push(@rv, $redirect);
}
}
Expand Down

0 comments on commit df66c53

Please sign in to comment.