After update of the core settings module from 2.0.4 to 2.0.5 no new updates are shown

Laraship QuestionsCategory: issues & BugsAfter update of the core settings module from 2.0.4 to 2.0.5 no new updates are shown
martin asked 6 years ago
After update of the core settings module from 2.0.4 to 2.0.5 no new updates are shown besides there are updates available for several other modules. I found the reason in /Corals/core/Settings/Classes/Modules.php@checkForUpdates() : the line
if (isset($check_updates_result['has_updates'])) {
has no effect as the json returned hasn't the key 'has_updates'. Instead I I used the following line:
if (isset($check_updates_result['updates']) && count($check_updates_result['updates']) > 0 ) {
2 Answers
laraship Staff answered 6 years ago

Hello, 
2.0.5 is the latest version we have and once we have new updates you will receive them
 

laraship Staff answered 6 years ago
so I assume it should be like this  
if ($check_updates_result['status'] != "error") {
if (isset($check_updates_result['updates']) && count($check_updates_result['updates']) > 0) {
$remote_updates = $check_updates_result['updates'];
}
if (!$check_updates_result['has_updates']) {
flash(trans('Settings::labels.module.up_to_date'))->success();
}
}