diff --git a/src/Poche/Repository/EntryRepository.php b/src/Poche/Repository/EntryRepository.php index 4c437a5..f266610 100644 --- a/src/Poche/Repository/EntryRepository.php +++ b/src/Poche/Repository/EntryRepository.php @@ -37,7 +37,7 @@ class EntryRepository $sql = "UPDATE entries SET status = 'read' where id = ? AND user_id = ?"; $entry = $this->db->fetchAll($sql, array($id, $userId)); - return $entry ? true : false; + return true; } }