Permalink
Browse files

Fix arguments to be passed properly

  • Loading branch information...
1 parent 5893ae0 commit 99e7d3478a9475afb5fee01ed690596af540f54f @CloCkWeRX CloCkWeRX committed Dec 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 XML/Feed/Parser.php
View
4 XML/Feed/Parser.php
@@ -89,7 +89,7 @@ class XML_Feed_Parser implements Iterator
*/
function __construct($feed, $strict = false, $suppressWarnings = false, $tidy = false)
{
- $this->model = new DOMDocument;
+ $this->model = new DOMDocument;
$this->initialize($feed, $strict, $suppressWarnings, $tidy);
}
@@ -110,7 +110,7 @@ function __construct($feed, $strict = false, $suppressWarnings = false, $tidy =
function initialize($feed, $strict = false, $suppressWarnings = false, $tidy = false)
{
$factory = new XML_Feed_Parser_Factory();
- $this->feed = $factory->build($this->model, $feed, $strict = false, $suppressWarnings = false, $tidy = false);
+ $this->feed = $factory->build($this->model, $feed, $strict, $suppressWarnings, $tidy);
}

0 comments on commit 99e7d34

Please sign in to comment.