mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
r10347 add missing return code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10380 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
98ea5e352a
commit
4a487ba772
5 changed files with 5 additions and 1 deletions
|
|
@ -664,6 +664,7 @@
|
|||
$buff->page = $page;
|
||||
$buff->data = array();
|
||||
$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
|
||||
return $buff;
|
||||
}
|
||||
$start_count = ($page - 1) * $list_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -763,6 +763,7 @@
|
|||
$buff->page = $page;
|
||||
$buff->data = array();
|
||||
$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
|
||||
return $buff;
|
||||
}
|
||||
$start_count = ($page-1)*$list_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -524,6 +524,7 @@
|
|||
$buff->page = $page;
|
||||
$buff->data = array();
|
||||
$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
|
||||
return $buff;
|
||||
}
|
||||
$start_count = ($page - 1) * $list_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -501,13 +501,13 @@
|
|||
// check the page variables
|
||||
if ($page > $total_page) {
|
||||
// If requested page is bigger than total number of pages, return empty list
|
||||
|
||||
$buff = new Object ();
|
||||
$buff->total_count = $total_count;
|
||||
$buff->total_page = $total_page;
|
||||
$buff->page = $page;
|
||||
$buff->data = array();
|
||||
$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
|
||||
return $buff;
|
||||
}
|
||||
$start_count = ($page - 1) * $list_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -526,6 +526,7 @@
|
|||
$buff->page = $page;
|
||||
$buff->data = array();
|
||||
$buff->page_navigation = new PageHandler($total_count, $total_page, $page, $page_count);
|
||||
return $buff;
|
||||
}
|
||||
$start_count = ($page - 1) * $list_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue