Skip to content

Commit

Permalink
fix: uninitialized value (#6997)
Browse files Browse the repository at this point in the history
  • Loading branch information
dipietroR authored Jul 4, 2022
1 parent a3a1a4d commit 28bcc4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ProductOpener/Display.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6822,10 +6822,6 @@ sub display_page($) {

${$content_ref} =~ s/<SITE>/$site/g;

$title =~ s/<SITE>/$site/g;

$title =~ s/<([^>]*)>//g;

my $textid = undef;
if ((defined $description) and ($description =~ /^textid:/)) {
$textid = $';
Expand All @@ -6843,6 +6839,10 @@ sub display_page($) {

my $canon_title = '';
if (defined $title) {
$title =~ s/<SITE>/$site/g;

$title =~ s/<([^>]*)>//g;

$title = remove_tags_and_quote($title);
}
my $canon_description = '';
Expand Down

0 comments on commit 28bcc4d

Please sign in to comment.