Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2968' into develop
Browse files Browse the repository at this point in the history
Forward port #2968
  • Loading branch information
weierophinney committed Jan 4, 2013
2 parents 984ef04 + 0b28596 commit d1cea2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Feed/Reader/Extension/Atom/Entry.php
Expand Up @@ -45,7 +45,7 @@ public function getAuthor($index = 0)
/**
* Get an array with feed authors
*
* @return array
* @return Collection\Author
*/
public function getAuthors()
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public function getAuthors()
}

if (count($authors) == 0) {
$authors = null;
$authors = new Collection\Author();
} else {
$authors = new Collection\Author(
Reader\Reader::arrayUnique($authors)
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Feed/Reader/Extension/Atom/Feed.php
Expand Up @@ -43,7 +43,7 @@ public function getAuthor($index = 0)
/**
* Get an array with feed authors
*
* @return array
* @return Collection\Author
*/
public function getAuthors()
{
Expand All @@ -65,7 +65,7 @@ public function getAuthors()
}

if (count($authors) == 0) {
$authors = null;
$authors = new Collection\Author();
} else {
$authors = new Collection\Author(
Reader\Reader::arrayUnique($authors)
Expand Down

0 comments on commit d1cea2f

Please sign in to comment.