Skip to content

Commit

Permalink
add protocol if missing #171
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed Aug 1, 2022
1 parent 9ed1260 commit 6495630
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/psp-db/pspdb-generate-xml.pl
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,8 @@ sub getNewestPhoto {
sub addLink {
my $self = shift;
my ($link,$type) = (@_,'guest');
return unless $link;
$link = "https://$link" unless $link =~ m{https?://};
$self->{idno}->{$type}->{$link} = 1;
}

Expand Down

0 comments on commit 6495630

Please sign in to comment.