Commit b9dff832 authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-3892

parent 9c6b3244
......@@ -172,8 +172,8 @@ function read_addon_info($addon, $get_dependencies_on_this = false, $row = null,
'description' => $description,
'install_time' => filemtime($path),
'files' => $file_list,
'dependencies' => $dep['requires'],
'incompatibilities' => $dep['conflicts_with'],
'dependencies' => array_key_exists('requires', $dep) ? $dep['requires'] : array(),
'incompatibilities' => array_key_exists('conflicts_with', $dep) ? $dep['conflicts_with'] : array(),
'default_icon' => $default_icon,
);
if ($get_dependencies_on_this) {
......
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