aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-05 22:33:36 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-05 22:33:36 +0100
commit905ae369bd0238cc24c3c4e0ac60d578d30b54bb (patch)
tree262f350c30eea94316242362b0246f92c5344987 /src/Wallabag/CoreBundle/Controller
parentc8dee953961964aa842e516995f0c6fafd007f9b (diff)
downloadwallabag-905ae369bd0238cc24c3c4e0ac60d578d30b54bb.tar.gz
wallabag-905ae369bd0238cc24c3c4e0ac60d578d30b54bb.tar.zst
wallabag-905ae369bd0238cc24c3c4e0ac60d578d30b54bb.zip
normalize entries fields
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r--src/Wallabag/CoreBundle/Controller/WallabagRestController.php4
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();