This commit is contained in:
Cornelius Weiß 2005-05-07 12:28:45 +00:00
parent 1cc693567b
commit 36fbfd7904
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class so_resources
($order_by != '' ? " ORDER BY $order_by" : ''),__LINE__,__FILE__); ($order_by != '' ? " ORDER BY $order_by" : ''),__LINE__,__FILE__);
$nr = $this->db->nf(); $nr = $this->db->nf();
if($offset > 0) if($offset > 0 && $nr > $offset)
{ {
$this->db->seek($offset-1); $this->db->seek($offset-1);
} }

View File

@ -1,5 +1,5 @@
<?php <?php
// eTemplates for Application 'resources', generated by soetemplate::dump4setup() 2005-03-21 10:15 // eTemplates for Application 'resources', generated by soetemplate::dump4setup() 2005-05-07 14:28
/* $Id$ */ /* $Id$ */