fix for category.php lists. Slight change in listlib api caused breakage.

This commit is contained in:
jamiesensei
2007-05-25 04:59:17 +00:00
parent 6e393d06ec
commit bdc66c2a5d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ class moodle_list{
* @return integer $offset + how many toplevel items where there in this list.
*
*/
function list_from_records($paged = false, $offset =0){
function list_from_records($paged = false, $offset =1){
$this->paged = $paged;
$this->offset = $offset;
$this->get_records();