Skip to content

Commit

Permalink
Fix undef variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 7, 2023
1 parent 00bb416 commit 16431d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ged2site
Original file line number Diff line number Diff line change
Expand Up @@ -10649,7 +10649,7 @@ sub notes
$note =~ s/[\x93\x94]/"/g;
$note =~ s/[\x91\x92]/'/g;
$note =~ s/[\xc2\xe2]//g;
if($rc ne $note) {
if(defined($rc) && ($rc ne $note)) {
if($paragraph) {
if($encode) {
$rc .= '<p>' . HTML::Entities::encode($note) . '.</p>';
Expand Down

0 comments on commit 16431d0

Please sign in to comment.