Merge pull request #3181 from wallabag/api-content-patch

Add ability to patch an entry with more fields
This commit is contained in:
Jérémy Benoist
2017-06-07 15:40:59 +02:00
committed by GitHub
3 changed files with 87 additions and 76 deletions

View File

@ -105,7 +105,7 @@ class ContentProxy
}
}
if (!empty($content['authors'])) {
if (!empty($content['authors']) && is_array($content['authors'])) {
$entry->setPublishedBy($content['authors']);
}