Skip to content
Snippets Groups Projects
Commit 379f27ed authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fix missing $

parent bc90a34b
Branches
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ class OC_DB { ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment