diff --git a/src/Kdyby/Doctrine/ResultSet.php b/src/Kdyby/Doctrine/ResultSet.php index 652c19f9..d3fdd7fe 100644 --- a/src/Kdyby/Doctrine/ResultSet.php +++ b/src/Kdyby/Doctrine/ResultSet.php @@ -118,10 +118,6 @@ public function applySorting($columns) */ public function applyPaging($offset, $limit) { - if ($this->paginatedQuery !== NULL) { - throw new InvalidStateException("Cannot modify result set, that was already fetched from storage."); - } - $this->query->setFirstResult($offset); $this->query->setMaxResults($limit);