Skip to content

Commit ff2203b

Browse files
committed
Change to Reference headers
1 parent 1d10ff8 commit ff2203b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

generate/lib/functions.inc.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,11 @@ function category_index($array)
377377
$section = "\n<div class=\"category\">\n<b>{$translation->cat_tr[$cat]}</b>\n";
378378
foreach ($subs as $sub => $refs) {
379379
if (count($refs) > 0) {
380-
if ($sub != '') $section .= "\t<h5>$sub</h5>\n";
380+
if ($sub != '') {
381+
$section .= "\t<h5>$sub</h5>\n";
382+
} else {
383+
$section .= "<br /><br />"
384+
}
381385
foreach ($refs as $ref) {
382386
$section .= "\t\t<a href=\"$ref[1]\">$ref[0]</a><br />\n";
383387
$empty = false;

0 commit comments

Comments
 (0)