Display only one set of changelog

[MAILPOET-979]
This commit is contained in:
Pavel Dohnal
2017-07-12 09:19:22 +01:00
parent e735b5f3e0
commit 1823985172

View File

@@ -340,7 +340,7 @@ class Menu {
$readme_file = Env::$path . '/readme.txt';
if(is_readable($readme_file)) {
$changelog = Readme::parseChangelog(file_get_contents($readme_file), 2);
$changelog = Readme::parseChangelog(file_get_contents($readme_file), 1);
if($changelog) {
$data['changelog'] = $changelog;
}