Skip to content

Commit

Permalink
Ensure all entries get changes to the sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Dec 9, 2011
1 parent 98ef5bb commit efd35f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions XML/Feed/Parser/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ function __call($call, $arguments = array())

public function setSanitizer(XML_Feed_Parser_Sanitizer $sanitizer) {
$this->sanitizer = $sanitizer;

foreach ($this->entries as $entry) {
$entry->setSanizier($sanitizer);
}
}
public function getSanitizer() {
return $this->sanitizer;
Expand Down

0 comments on commit efd35f2

Please sign in to comment.