Update conference_session_details.php (#4965)
This commit is contained in:
parent
cd72366282
commit
6884455218
|
|
@ -127,10 +127,12 @@
|
||||||
//prepare to page the results
|
//prepare to page the results
|
||||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||||
$param = '';
|
$param = '';
|
||||||
$page = $_GET['page'];
|
if (isset($_GET['page'])) {
|
||||||
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
$page = $_GET['page'];
|
||||||
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
||||||
$offset = $rows_per_page * $page;
|
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
||||||
|
$offset = $rows_per_page * $page;
|
||||||
|
}
|
||||||
|
|
||||||
//get the list
|
//get the list
|
||||||
$sql = "select * from v_conference_session_details ";
|
$sql = "select * from v_conference_session_details ";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue