diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-06-07 15:40:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-07 15:40:59 +0200 |
commit | c0d756f67d1cc0fc6832d404a09729f9219f0595 (patch) | |
tree | 0a6ca6138d6de94529202dccebd0bcd9c2fdb21b /src/Wallabag/CoreBundle/Helper/ContentProxy.php | |
parent | 4e4a5b534ff241f25c35fad24c9c79eb12f4adde (diff) | |
parent | db0c48af361eb20fbfcac625869de6f26112d3f7 (diff) | |
download | wallabag-c0d756f67d1cc0fc6832d404a09729f9219f0595.tar.gz wallabag-c0d756f67d1cc0fc6832d404a09729f9219f0595.tar.zst wallabag-c0d756f67d1cc0fc6832d404a09729f9219f0595.zip |
Merge pull request #3181 from wallabag/api-content-patch
Add ability to patch an entry with more fields
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index bfaa1976..d5820e66 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -105,7 +105,7 @@ class ContentProxy | |||
105 | } | 105 | } |
106 | } | 106 | } |
107 | 107 | ||
108 | if (!empty($content['authors'])) { | 108 | if (!empty($content['authors']) && is_array($content['authors'])) { |
109 | $entry->setPublishedBy($content['authors']); | 109 | $entry->setPublishedBy($content['authors']); |
110 | } | 110 | } |
111 | 111 | ||