Skip to content
Browse files

Fix class name

  • Loading branch information...
1 parent 5ae8322 commit 23421056a72428eede18c18eddce81ab6015b919 @CloCkWeRX CloCkWeRX committed Dec 9, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 XML/Feed/Parser.php
View
3 XML/Feed/Parser.php
@@ -33,6 +33,7 @@
*/
require_once 'XML/Feed/Parser/Exception.php';
+require_once 'XML/Feed/Parser/Factory.php';
/**
* This is the core of the XML_Feed_Parser package. It identifies feed types
* and abstracts access to them. It is an iterator, allowing for easy access
@@ -112,7 +113,7 @@ function __construct($feed, $strict = false, $suppressWarnings = false, $tidy =
*/
function initialize($feed, $strict = false, $suppressWarnings = false, $tidy = false)
{
- $factory = new XML_Feed_Factory();
+ $factory = new XML_Feed_Parser_Factory();
$this->feed = $factory->build($feed);
}

0 comments on commit 2342105

Please sign in to comment.
Something went wrong with that request. Please try again.