Fixed uninitialized var
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Thu, 26 Jan 2023 00:00:49 +0000 (16:00 -0800)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Thu, 26 Jan 2023 00:00:49 +0000 (16:00 -0800)
maps/bin/detail.cgi

index 06e8bd9..0ecf224 100755 (executable)
@@ -287,7 +287,8 @@ sub Body($) {
     if ($rec) {
       my $listlink = ($rec->{type} and $rec->{sequence}) ? "$rec->{type}:$rec->{sequence}" : '';
 
     if ($rec) {
       my $listlink = ($rec->{type} and $rec->{sequence}) ? "$rec->{type}:$rec->{sequence}" : '';
 
-      $rec->{comment} //= '';
+      $rec->{comment}    //= '';
+      $rec->{retention} //= '';
 
       print td {
         -class => $dataclass,
 
       print td {
         -class => $dataclass,