mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-30 12:52:24 -05:00
Merge branch 'dev' of https://github.com/inthepoche/poche into dev
This commit is contained in:
commit
defa7754a4
@ -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 = '') {
|
||||
|
Loading…
Reference in New Issue
Block a user