We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d10ff8 commit ff2203bCopy full SHA for ff2203b
1 file changed
generate/lib/functions.inc.php
@@ -377,7 +377,11 @@ function category_index($array)
377
$section = "\n<div class=\"category\">\n<b>{$translation->cat_tr[$cat]}</b>\n";
378
foreach ($subs as $sub => $refs) {
379
if (count($refs) > 0) {
380
- if ($sub != '') $section .= "\t<h5>$sub</h5>\n";
+ if ($sub != '') {
381
+ $section .= "\t<h5>$sub</h5>\n";
382
+ } else {
383
+ $section .= "<br /><br />"
384
+ }
385
foreach ($refs as $ref) {
386
$section .= "\t\t<a href=\"$ref[1]\">$ref[0]</a><br />\n";
387
$empty = false;
0 commit comments