diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-08-30 13:53:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 13:53:49 +0200 |
commit | 119e6c5edb93ab8a14fd46d04d224091542039c4 (patch) | |
tree | 521a316a60c7bd162bb52a86f55a8bf4e3c6f475 /src/Wallabag/CoreBundle/Controller | |
parent | 854616ac6d6246e8e0451342ab841985b401604d (diff) | |
parent | a991c46eedec0efb24d0a9974b1c7fcabf8cfa66 (diff) | |
download | wallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.tar.gz wallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.tar.zst wallabag-119e6c5edb93ab8a14fd46d04d224091542039c4.zip |
Merge pull request #3330 from franek/set-starred-date
Add starred_at field which is set when an entry is starred
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 3dcfbebe..b0b74c38 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -333,6 +333,7 @@ class EntryController extends Controller | |||
333 | $this->checkUserAction($entry); | 333 | $this->checkUserAction($entry); |
334 | 334 | ||
335 | $entry->toggleStar(); | 335 | $entry->toggleStar(); |
336 | $entry->updateStar($entry->isStarred()); | ||
336 | $this->getDoctrine()->getManager()->flush(); | 337 | $this->getDoctrine()->getManager()->flush(); |
337 | 338 | ||
338 | $message = 'flashes.entry.notice.entry_unstarred'; | 339 | $message = 'flashes.entry.notice.entry_unstarred'; |