diff options
Diffstat (limited to 'inc/store/sqlite.class.php')
-rw-r--r-- | inc/store/sqlite.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/store/sqlite.class.php b/inc/store/sqlite.class.php index a15bc095..3e391e40 100644 --- a/inc/store/sqlite.class.php +++ b/inc/store/sqlite.class.php | |||
@@ -114,7 +114,7 @@ class Sqlite extends Store { | |||
114 | return $entry[0]; | 114 | return $entry[0]; |
115 | } | 115 | } |
116 | 116 | ||
117 | public function getEntriesByView($view) { | 117 | public function getEntriesByView($view, $limit = '') { |
118 | parent::__construct(); | 118 | parent::__construct(); |
119 | 119 | ||
120 | switch ($_SESSION['sort']) | 120 | switch ($_SESSION['sort']) |
@@ -152,6 +152,8 @@ class Sqlite extends Store { | |||
152 | break; | 152 | break; |
153 | } | 153 | } |
154 | 154 | ||
155 | $sql .= ' ' . $limit; | ||
156 | |||
155 | $query = $this->executeQuery($sql, $params); | 157 | $query = $this->executeQuery($sql, $params); |
156 | $entries = $query->fetchAll(); | 158 | $entries = $query->fetchAll(); |
157 | 159 | ||