mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 20:21:29 +00:00
fix handling of rss author field
This commit is contained in:
@@ -516,6 +516,9 @@
|
||||
$entry_author = db_escape_string(strip_tags($item['dc']['creator']));
|
||||
|
||||
if ($item['author']) {
|
||||
|
||||
if (is_array($item['author'])) {
|
||||
|
||||
if (!$entry_author) {
|
||||
$entry_author = db_escape_string(strip_tags($item['author']['name']));
|
||||
}
|
||||
@@ -523,6 +526,7 @@
|
||||
if (!$entry_author) {
|
||||
$entry_author = db_escape_string(strip_tags($item['author']['email']));
|
||||
}
|
||||
}
|
||||
|
||||
if (!$entry_author) {
|
||||
$entry_author = db_escape_string(strip_tags($item['author']));
|
||||
|
||||
Reference in New Issue
Block a user