diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index f14f821b..75de58f7 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |||
@@ -125,7 +125,7 @@ class WallabagRestController extends Controller | |||
125 | } | 125 | } |
126 | 126 | ||
127 | if (!is_null($isArchived)) { | 127 | if (!is_null($isArchived)) { |
128 | $entry->setRead($isArchived); | 128 | $entry->setArchived($isArchived); |
129 | } | 129 | } |
130 | 130 | ||
131 | if (!is_null($isDeleted)) { | 131 | if (!is_null($isDeleted)) { |
@@ -133,7 +133,7 @@ class WallabagRestController extends Controller | |||
133 | } | 133 | } |
134 | 134 | ||
135 | if (!is_null($isStarred)) { | 135 | if (!is_null($isStarred)) { |
136 | $entry->setFav($isStarred); | 136 | $entry->setStarred($isStarred); |
137 | } | 137 | } |
138 | 138 | ||
139 | $em = $this->getDoctrine()->getManager(); | 139 | $em = $this->getDoctrine()->getManager(); |