fix missing $
This commit is contained in:
parent
bc90a34b07
commit
379f27ed03
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue