1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 13:42:17 -05:00

Formatting

This commit is contained in:
Vincent Jousse 2013-12-13 22:42:13 +01:00
parent bc8c4f7434
commit 14330bfa68

View File

@ -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();
} }