summaryrefslogtreecommitdiffstats
path: root/lib/Db/FolderMapperV2.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/FolderMapperV2.php')
-rw-r--r--lib/Db/FolderMapperV2.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/FolderMapperV2.php b/lib/Db/FolderMapperV2.php
index ea2edee91..3a604cad6 100644
--- a/lib/Db/FolderMapperV2.php
+++ b/lib/Db/FolderMapperV2.php
@@ -131,6 +131,7 @@ class FolderMapperV2 extends NewsMapperV2
$builder = $this->db->getQueryBuilder();
$builder->update(ItemMapperV2::TABLE_NAME)
->set('unread', $builder->createParameter('unread'))
+ ->set('last_modified', $this->time->getMicroTime())
->andWhere('id IN (:idList)')
->andWhere('unread != :unread')
->setParameter('unread', false, IQueryBuilder::PARAM_BOOL)