Commit f4718d37 authored by 20th's avatar 20th Committed by helmo

Issue #2849593 by 20th: Undefined index: version in packages_7.inc

parent e55ab48f
......@@ -39,7 +39,12 @@ function _provision_drupal_find_themes($scope, $key = '') {
$files[$name]->template = TRUE;
}
}
$files[$name]->version = $files[$name]->info['version'];
if (!empty($files[$name]->info['version'])) {
$files[$name]->version = $files[$name]->info['version'];
}
else {
$files[$name]->version = NULL;
}
}
return $files;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment