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:
parent
7587e70dfa
commit
4e95dd45eb
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user