diff --git a/feeds.module b/feeds.module index 10da63212cee09a6a185041827e7f17efb524979..061e0dd3aa7449a36d6eacce3d86d46096bc1642 100644 --- a/feeds.module +++ b/feeds.module @@ -1177,8 +1177,13 @@ function feeds_plugin($plugin, $id) { $args = array('%plugin' => $plugin, '@id' => $id); if (user_access('administer feeds')) { - $args['@link'] = url('admin/structure/feeds/' . $id); - drupal_set_message(t('Missing Feeds plugin %plugin. See <a href="@link">@id</a>. Check whether all required libraries and modules are installed properly.', $args), 'warning', FALSE); + if (module_exists('feeds_ui')) { + $args['@link'] = url('admin/structure/feeds/' . $id); + drupal_set_message(t('Missing Feeds plugin %plugin. See <a href="@link">@id</a>. Check whether all required libraries and modules are installed properly.', $args), 'warning', FALSE); + } + else { + drupal_set_message(t('Missing Feeds plugin %plugin used by the importer "@id". Check whether all required libraries and modules are installed properly. Enable the Feeds Admin UI module to check the importer\'s settings.', $args), 'warning', FALSE); + } } else { drupal_set_message(t('Missing Feeds plugin %plugin. Please contact your site administrator.', $args), 'warning', FALSE);