diff --git a/h5p.classes.php b/h5p.classes.php index e87bc79..d91b794 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2391,6 +2391,10 @@ class H5PCore { if($platformInfo['uuid'] === '' && isset($json->uuid)) { $this->h5pF->setOption('site_uuid', $json->uuid); } + if (isset($json->latest) && !empty($json->latest)) { + $this->h5pF->setOption('update_available', $json->latest->releasedAt); + $this->h5pF->setOption('update_available_path', $json->latest->path); + } } }