From 9148b2cb62e325e68de753d502ec01016d7007f8 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Fri, 17 Sep 2010 22:16:15 +0000 Subject: [PATCH] Upgrade drupal_get_form(). --- includes/FeedsConfigurable.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/FeedsConfigurable.inc b/includes/FeedsConfigurable.inc index 7c3aff9a..e1516970 100644 --- a/includes/FeedsConfigurable.inc +++ b/includes/FeedsConfigurable.inc @@ -205,14 +205,13 @@ abstract class FeedsConfigurable { * The form method that should be rendered. * * @return - * Rendered config form, if available. Empty string otherwise. + * Config form array if available. NULL otherwise. */ function feeds_get_form($configurable, $form_method) { $form_state = array(); if (method_exists($configurable, $form_method)) { return drupal_get_form(get_class($configurable) .'_feeds_form', $configurable, $form_method); } - return ''; } /** -- GitLab