aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 09:49:08 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 09:49:08 +0100
commitdefa7754a4a532a985367394a28b359d099d7f34 (patch)
tree3075ec0088cc8dc43e17140c6bd974fd1e97ad23
parent1bf152a5510e6e3f68962b188f7aca51ca15f701 (diff)
parent0c2f453750b742fde21ec2a8fdcf3beb9eff2faf (diff)
downloadwallabag-defa7754a4a532a985367394a28b359d099d7f34.tar.gz
wallabag-defa7754a4a532a985367394a28b359d099d7f34.tar.zst
wallabag-defa7754a4a532a985367394a28b359d099d7f34.zip
Merge branch 'dev' of https://github.com/inthepoche/poche into dev
-rw-r--r--inc/poche/Database.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php
index 1d3ff0c2..bf67de2a 100644
--- a/inc/poche/Database.class.php
+++ b/inc/poche/Database.class.php
@@ -166,7 +166,7 @@ class Database {
166 $query = $this->executeQuery($sql, $params); 166 $query = $this->executeQuery($sql, $params);
167 $entry = $query->fetchAll(); 167 $entry = $query->fetchAll();
168 168
169 return $entry[0]; 169 return isset($entry[0]) ? $entry[0] : null;
170 } 170 }
171 171
172 public function getEntriesByView($view, $user_id, $limit = '') { 172 public function getEntriesByView($view, $user_id, $limit = '') {