summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorjfd <jfd@lance>2012-08-25 02:17:44 +0200
committerjfd <jfd@lance>2012-08-25 02:17:44 +0200
commit379f27ed03fc6cc1b83cfea4921390906ca33514 (patch)
treec529ca887dcc26b43ad2d0bab629c28fad98752c /lib/db.php
parentbc90a34b07f3ab882394d18cf0da17b3b5ea5edc (diff)
downloadnextcloud-server-379f27ed03fc6cc1b83cfea4921390906ca33514.tar.gz
nextcloud-server-379f27ed03fc6cc1b83cfea4921390906ca33514.zip
fix missing $
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php
index d67cebce589..5ef67202a10 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -263,7 +263,7 @@ class OC_DB {
*/
static public function prepare( $query , $limit=null, $offset=null ){
- if (!is_null($limit) && limit != -1) {
+ if (!is_null($limit) && $limit != -1) {
if (self::$backend == self::BACKEND_MDB2) {
//MDB2 uses or emulates limits & offset internally
self::$MDB2->setLimit($limit, $offset);