diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index 2633a311..3265ba38 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -126,11 +126,11 @@ class WallabagRestController extends FOSRestController | |||
126 | $this->get('wallabag_core.content_proxy')->assignTagsToEntry($entry, $tags); | 126 | $this->get('wallabag_core.content_proxy')->assignTagsToEntry($entry, $tags); |
127 | } | 127 | } |
128 | 128 | ||
129 | if (true === (bool) $isStarred) { | 129 | if ($isStarred === 'true') { |
130 | $entry->setStarred(true); | 130 | $entry->setStarred(true); |
131 | } | 131 | } |
132 | 132 | ||
133 | if (true === (bool) $isArchived) { | 133 | if ($isArchived === 'true') { |
134 | $entry->setArchived(true); | 134 | $entry->setArchived(true); |
135 | } | 135 | } |
136 | 136 | ||