diff options
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index 0b4e74a0..dc63b98d 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -358,7 +358,7 @@ class EntryRestController extends WallabagRestController | |||
358 | } | 358 | } |
359 | 359 | ||
360 | if (null !== $data['isArchived']) { | 360 | if (null !== $data['isArchived']) { |
361 | $entry->setArchived((bool) $data['isArchived']); | 361 | $entry->updateArchived((bool) $data['isArchived']); |
362 | } | 362 | } |
363 | 363 | ||
364 | if (null !== $data['isStarred']) { | 364 | if (null !== $data['isStarred']) { |
@@ -474,7 +474,7 @@ class EntryRestController extends WallabagRestController | |||
474 | } | 474 | } |
475 | 475 | ||
476 | if (null !== $data['isArchived']) { | 476 | if (null !== $data['isArchived']) { |
477 | $entry->setArchived((bool) $data['isArchived']); | 477 | $entry->updateArchived((bool) $data['isArchived']); |
478 | } | 478 | } |
479 | 479 | ||
480 | if (null !== $data['isStarred']) { | 480 | if (null !== $data['isStarred']) { |