1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00

[fix] return value when we mark an entry as read

This commit is contained in:
Nicolas Lœuillet 2014-01-09 15:51:13 +01:00
parent 7587e70dfa
commit 4e95dd45eb

View File

@ -37,7 +37,7 @@ class EntryRepository
$sql = "UPDATE entries SET status = 'read' where id = ? AND user_id = ?"; $sql = "UPDATE entries SET status = 'read' where id = ? AND user_id = ?";
$entry = $this->db->fetchAll($sql, array($id, $userId)); $entry = $this->db->fetchAll($sql, array($id, $userId));
return $entry ? true : false; return true;
} }
} }