diff --git a/classes/MarketRelease.class.php b/classes/MarketRelease.class.php index 68d8f831144aad094425ee77cbb646d6e2fa40bd..72e0932b38a6cf448f0921e8e93334e6d39548a1 100644 --- a/classes/MarketRelease.class.php +++ b/classes/MarketRelease.class.php @@ -98,9 +98,7 @@ class MarketRelease extends SimpleORMap { } $this['studip_min_version'] = $manifest['studipMinVersion']; $this['studip_max_version'] = $manifest['studipMaxVersion']; - if (!$this['version']) { - $this['version'] = $manifest['version']; - } + $this['version'] = $manifest['version']; if ($this['repository_overwrites_descriptionfrom']) { $readme = ""; $scanner = scandir($dir);