Commit 7885a279 authored by profix898's avatar profix898

- bugfix: unsupported operand types (#223856 by kiz_0987)

parent 48e73456
......@@ -1142,7 +1142,7 @@ function gallery_plugin_set_status($plugin_names) {
$status[$plugin]['title'] = t('Gallery2 plugin \'@plugin\' is not available',
array('@plugin' => isset($plugin_info[$plugin]) ? $plugin_info[$plugin]['title'] : drupal_ucfirst($plugin)));
$status[$plugin]['severity'] = isset($plugin_info[$plugin]['severity']) ? $plugin_info[$plugin]['severity'] : GALLERY_SEVERITY_WARNING;
$status[$plugin]['url'] = url('admin/settings/gallery/install', NULL, 'gallery-install-plugin-'. $plugin);
$status[$plugin]['url'] = url('admin/settings/gallery/install', array('fragment' => 'gallery-install-plugin-'. $plugin));
}
}
gallery_set_status($status);
......
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