diff --git a/app/controllers/Module_marketplace.php b/app/controllers/Module_marketplace.php index 11b679863..c66d1cbde 100755 --- a/app/controllers/Module_marketplace.php +++ b/app/controllers/Module_marketplace.php @@ -55,7 +55,7 @@ public function get_module_data() // Process each package foreach ($composer_pkgs as $pkg) { // Process each munkireport or munkireport module package - if (strpos(strtolower($pkg['description']), 'module for munkireport') !== false || substr( $pkg['name'], 0, 12 ) === "munkireport/"){ + if ((array_key_exists("description", $pkg) && strpos(strtolower($pkg['description']), 'module for munkireport') !== false) || substr( $pkg['name'], 0, 12 ) === "munkireport/"){ $name_array = explode("/",$pkg['name']);