--- FeedsHTTPFetcher.inc.cvs	2010-09-11 00:02:04.000000000 +0100
+++ FeedsHTTPFetcher.inc	2010-09-13 21:46:55.000000000 +0100
@@ -95,6 +95,7 @@ class FeedsHTTPFetcher extends FeedsFetc
   public function configDefaults() {
     return array(
       'auto_detect_feeds' => FALSE,
+      'feed_required' => TRUE,
       'use_pubsubhubbub' => FALSE,
       'designated_hub' => '',
     );
@@ -109,8 +110,15 @@ class FeedsHTTPFetcher extends FeedsFetc
       '#type' => 'checkbox',
       '#title' => t('Auto detect feeds'),
       '#description' => t('If the supplied URL does not point to a feed but an HTML document, attempt to extract a feed URL from the document.'),
+      '#return_value' => TRUE,
       '#default_value' => $this->config['auto_detect_feeds'],
     );
+    $form['feed_required'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Require feed'),
+      '#description' => t('Ensure a URL is provided when saving a feed.'),
+      '#default_value' => $this->config['feed_required'],
+    );    
     $form['use_pubsubhubbub'] = array(
       '#type' => 'checkbox',
       '#title' => t('Use PubSubHubbub'),
@@ -141,7 +149,7 @@ class FeedsHTTPFetcher extends FeedsFetc
       '#description' => t('Enter a feed URL.'),
       '#default_value' => isset($source_config['source']) ? $source_config['source'] : '',
       '#maxlength' => NULL,
-      '#required' => TRUE,
+      '#required' => $this->config['feed_required'],
     );
     return $form;
   }
