From 6a4c0565a51022b54c4dcaa101aa5b84de23f225 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 4 Jul 2013 20:41:55 -0400 Subject: [PATCH] Fix bug: flush history must not remove bookmarked items --- model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/model.php b/model.php index 67bfa8a..85cbc80 100644 --- a/model.php +++ b/model.php @@ -405,6 +405,7 @@ function mark_as_removed() \PicoTools\singleton('db') ->table('items') ->eq('status', 'read') + ->eq('bookmark', 0) ->save(array('status' => 'removed', 'content' => '')); }