diff --git a/CHANGELOG.md b/CHANGELOG.md index cf45c92c..fa1870db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 2.10.1 - TBD +## 2.10.1 - 2018-06-05 ### Added @@ -22,7 +22,8 @@ All notable changes to this project will be documented in this file, in reverse ### Fixed -- Nothing. +- [#79](https://github.com/zendframework/zend-feed/pull/79) fixes an issue in the `setType()` method of the iTunes feed renderer whereby it was setting + the DOM content with an uninitialized variable. ## 2.10.0 - 2018-05-24 diff --git a/src/Writer/Extension/ITunes/Renderer/Feed.php b/src/Writer/Extension/ITunes/Renderer/Feed.php index 074ec80d..6614e3ff 100644 --- a/src/Writer/Extension/ITunes/Renderer/Feed.php +++ b/src/Writer/Extension/ITunes/Renderer/Feed.php @@ -345,7 +345,7 @@ protected function _setType(DOMDocument $dom, DOMElement $root) return; } $el = $dom->createElement('itunes:type'); - $text = $dom->createTextNode($summary); + $text = $dom->createTextNode($type); $el->appendChild($text); $root->appendChild($el); $this->called = true;