Prevent retrieving deleted chores by ID
1 files changed, 3 insertions(+), 0 deletions(-) M lib/Db/ChoreMapper.php
M lib/Db/ChoreMapper.php => lib/Db/ChoreMapper.php +3 -0
@@ 22,6 22,9 @@ class ChoreMapper extends QBMapper { ->andWhere( $qb->expr()->eq('id', $qb->createNamedParameter($choreId)) ) + ->andWhere( + 'deleted = false' + ) ; return $this->findEntity($qb);