From 77bb529ff0d942b79624ef9da0aeae946e8161f3 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Mon, 4 Oct 2010 02:11:30 +0000 Subject: [PATCH] Fix double usage of the same variable. --- plugins/FeedsOPMLParser.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/FeedsOPMLParser.inc b/plugins/FeedsOPMLParser.inc index 8871dd39..db473ba2 100644 --- a/plugins/FeedsOPMLParser.inc +++ b/plugins/FeedsOPMLParser.inc @@ -16,9 +16,9 @@ class FeedsOPMLParser extends FeedsParser { */ public function parse(FeedsSource $source, FeedsFetcherResult $fetcher_result) { feeds_include_library('opml_parser.inc', 'opml_parser'); - $result = opml_parser_parse($fetcher_result->getRaw()); - $result = new FeedsParserResult($result['items']); - $result->setTitle($result['title']); + $opml = opml_parser_parse($fetcher_result->getRaw()); + $result = new FeedsParserResult($opml['items']); + $result->setTitle($opml['title']); return $result; } -- GitLab