Display only one set of changelog
[MAILPOET-979]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user