Skip to content
Snippets Groups Projects
Commit acf53eae authored by Alex Barth's avatar Alex Barth
Browse files

Fix more notices.

parent f4ac3126
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class FeedsHTTPFetcher extends FeedsFetcher { ...@@ -142,7 +142,7 @@ class FeedsHTTPFetcher extends FeedsFetcher {
*/ */
public function configFormValidate(&$values) { public function configFormValidate(&$values) {
// Don't accidentally wipe out password. // 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']; $values['basic_auth_password'] = $this->config['basic_auth_password'];
} }
if ($values['basic_auth'] != FEEDS_HTTP_BASIC_AUTH_PER_IMPORTER) { if ($values['basic_auth'] != FEEDS_HTTP_BASIC_AUTH_PER_IMPORTER) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment