aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Database.class.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 02:00:07 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-11-25 02:00:07 -0800
commitc2b7a11c772a5b503896add11ea18838999f8d58 (patch)
tree1976b248eb85e335febc13e0442b8fe766b91687 /inc/poche/Database.class.php
parentcd8a3441561fa63b9da1b705c4b28dee787f79b0 (diff)
parent7a4482b8a43afca7f5c311ae7e44b3f0c4d239c0 (diff)
downloadwallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.gz
wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.tar.zst
wallabag-c2b7a11c772a5b503896add11ea18838999f8d58.zip
Merge pull request #326 from inthepoche/dev
1.2.0
Diffstat (limited to 'inc/poche/Database.class.php')
-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 = '') {