diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-03-15 18:50:13 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-03-16 22:22:12 +0100 |
commit | 0d3043a29c4aba541d6a18c2d5cc7ebffc6ddc78 (patch) | |
tree | 2d33ffeba77ae33b6be24cda60eaf7007a53c96c /src/Wallabag/ApiBundle/Controller | |
parent | 3500d4099f88f7db22eba42fdb7e8926f1f1cdac (diff) | |
download | wallabag-0d3043a29c4aba541d6a18c2d5cc7ebffc6ddc78.tar.gz wallabag-0d3043a29c4aba541d6a18c2d5cc7ebffc6ddc78.tar.zst wallabag-0d3043a29c4aba541d6a18c2d5cc7ebffc6ddc78.zip |
fix api properties and typo
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-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 | ||