From 602fe53496fcc5c95983bebf0d789d01cdf3e5aa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 2 May 2013 10:36:05 +0400 Subject: [PATCH] fix atom value elements --- classes/feeditem/common.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/feeditem/common.php b/classes/feeditem/common.php index fca9433a..0787a42c 100644 --- a/classes/feeditem/common.php +++ b/classes/feeditem/common.php @@ -21,6 +21,9 @@ abstract class FeedItem_Common extends FeedItem { $email = $author->getElementsByTagName("email")->item(0); if ($email) return $email->nodeValue; + + if ($author->nodeValue) + return $author->nodeValue; } $author = $this->xpath->query("dc:creator", $this->elem)->item(0); -- 2.39.5