fix missing $

This commit is contained in:
jfd 2012-08-25 02:17:44 +02:00
parent bc90a34b07
commit 379f27ed03

View file

@ -263,7 +263,7 @@ class OC_DB {
*/ */
static public function prepare( $query , $limit=null, $offset=null ){ 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) { if (self::$backend == self::BACKEND_MDB2) {
//MDB2 uses or emulates limits & offset internally //MDB2 uses or emulates limits & offset internally
self::$MDB2->setLimit($limit, $offset); self::$MDB2->setLimit($limit, $offset);