1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00
This commit is contained in:
Nicolas Lœuillet 2013-11-25 09:49:08 +01:00
commit defa7754a4

View file

@ -166,7 +166,7 @@ class Database {
$query = $this->executeQuery($sql, $params); $query = $this->executeQuery($sql, $params);
$entry = $query->fetchAll(); $entry = $query->fetchAll();
return $entry[0]; return isset($entry[0]) ? $entry[0] : null;
} }
public function getEntriesByView($view, $user_id, $limit = '') { public function getEntriesByView($view, $user_id, $limit = '') {