From 379f27ed03fc6cc1b83cfea4921390906ca33514 Mon Sep 17 00:00:00 2001 From: jfd Date: Sat, 25 Aug 2012 02:17:44 +0200 Subject: fix missing $ --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/db.php') 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); -- cgit v1.2.3