mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 13:42:17 -05:00
Formatting
This commit is contained in:
parent
bc8c4f7434
commit
14330bfa68
@ -14,6 +14,7 @@ class EntryRepository
|
|||||||
public function getEntries($userId = 1) {
|
public function getEntries($userId = 1) {
|
||||||
$sql = "SELECT * FROM entries where user_id = ?";
|
$sql = "SELECT * FROM entries where user_id = ?";
|
||||||
$entries = $this->db->fetchAll($sql, array($userId));
|
$entries = $this->db->fetchAll($sql, array($userId));
|
||||||
|
|
||||||
return $entries ? $entries : array();
|
return $entries ? $entries : array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user