diff options
Diffstat (limited to 'includes/database/select.inc')
-rw-r--r-- | includes/database/select.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/select.inc b/includes/database/select.inc index 55eecf586..cebeef7ad 100644 --- a/includes/database/select.inc +++ b/includes/database/select.inc @@ -1084,7 +1084,7 @@ class SelectQuery extends Query implements SelectQueryInterface { $args = $this->getArguments(); if (!empty($this->range)) { - return $this->connection->queryRange((string)$this, $args, $this->range['start'], $this->range['length'], $this->queryOptions); + return $this->connection->queryRange((string)$this, $this->range['start'], $this->range['length'], $args, $this->queryOptions); } return $this->connection->query((string)$this, $args, $this->queryOptions); } |