1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05: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);
$entry = $query->fetchAll();
return $entry[0];
return isset($entry[0]) ? $entry[0] : null;
}
public function getEntriesByView($view, $user_id, $limit = '') {