mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-23 23:28:08 +00:00
PATCH also clears starred and archived signs
This commit is contained in:
parent
873e380658
commit
614a0bfd86
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ class WallabagRestController extends FOSRestController
|
|||
$this->validateUserAccess($entry->getUser()->getId());
|
||||
|
||||
$title = $request->request->get('title');
|
||||
$isArchived = (int) $request->request->get('archive');
|
||||
$isStarred = (int) $request->request->get('starred');
|
||||
$isArchived = $request->request->get('archive');
|
||||
$isStarred = $request->request->get('starred');
|
||||
|
||||
if (!is_null($title)) {
|
||||
$entry->setTitle($title);
|
||||
|
|
Loading…
Reference in a new issue