From 905ae369bd0238cc24c3c4e0ac60d578d30b54bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 5 Feb 2015 22:33:36 +0100 Subject: normalize entries fields --- src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Wallabag/CoreBundle/Controller/WallabagRestController.php') 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 } if (!is_null($isArchived)) { - $entry->setRead($isArchived); + $entry->setArchived($isArchived); } if (!is_null($isDeleted)) { @@ -133,7 +133,7 @@ class WallabagRestController extends Controller } if (!is_null($isStarred)) { - $entry->setFav($isStarred); + $entry->setStarred($isStarred); } $em = $this->getDoctrine()->getManager(); -- cgit v1.2.3