Fix notice in DatasetManager

This commit is contained in:
Chris 2022-10-31 15:36:01 +01:00
parent 8323051ca7
commit 27983a057b

View File

@ -84,7 +84,7 @@ class DatasetManager
if (file_exists($fn)) { if (file_exists($fn)) {
$versions = include $fn; $versions = include $fn;
foreach ($versions['versions'] as $name=>$version) { foreach ($versions['versions'] as $name=>$version) {
self::$packageVersions[$name] = $version['version']; self::$packageVersions[$name] = array_key_exists('version',$version) ? $version['version'] : null;
} }
} }