1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

normalize entries fields

This commit is contained in:
Nicolas Lœuillet 2015-02-05 22:33:36 +01:00
parent c8dee95396
commit 905ae369bd
5 changed files with 34 additions and 34 deletions

View file

@ -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();