diff --git a/build/build_changelog.php b/build/build_changelog.php index b2efdaaea7..9457c26511 100755 --- a/build/build_changelog.php +++ b/build/build_changelog.php @@ -38,6 +38,7 @@ else $xml = simplexml_load_string(file_get_contents($url)); } +$types = []; foreach ($xml->xpath('//item') as $item) { $key = (string) $item->key; @@ -51,17 +52,20 @@ foreach ($xml->xpath('//item') as $item) $types[(string) $item->type][$key] = $value; } -ksort($types); -foreach ($types as $type => $tickets) +if (count($types)) { - echo "

$type

\n"; - echo "\n"; }