Skip to content

Commit

Permalink
Fix not to break table if there is no data
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Dec 9, 2023
1 parent bf1a3e7 commit 023271d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ foreach my $jail (@sections) {
[
{'type' => 'checkbox', 'name' => 'd', 'value' => $jail},
"<a href=\"edit_jail.cgi?jail=$jail\">" . &html_escape($jail) . "</a>",
$jk_init_ini->val("$jail", 'comment')
$jk_init_ini->val("$jail", 'comment') || ""
]
);
}
Expand Down

0 comments on commit 023271d

Please sign in to comment.