From acf53eae7bf963f89cff22e8ee6828cef76ceea0 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Thu, 18 Feb 2010 20:13:31 +0000
Subject: [PATCH] Fix more notices.

---
 plugins/FeedsHTTPFetcher.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/FeedsHTTPFetcher.inc b/plugins/FeedsHTTPFetcher.inc
index b7c06257..bc9c79f1 100644
--- a/plugins/FeedsHTTPFetcher.inc
+++ b/plugins/FeedsHTTPFetcher.inc
@@ -142,7 +142,7 @@ class FeedsHTTPFetcher extends FeedsFetcher {
    */
   public function configFormValidate(&$values) {
     // Don't accidentally wipe out password.
-    if (empty($values['basic_auth_password'])) {
+    if (empty($values['basic_auth_password']) && !empty($this->config['basic_auth_password'])) {
       $values['basic_auth_password'] = $this->config['basic_auth_password'];
     }
     if ($values['basic_auth'] != FEEDS_HTTP_BASIC_AUTH_PER_IMPORTER) {
-- 
GitLab