parent
54a804c9f0
commit
329fc04f6c
|
|
@ -77,7 +77,10 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count
|
||||||
if ($num_rows > 0) {
|
if ($num_rows > 0) {
|
||||||
$max_page = ceil($num_rows/$rows_per_page);
|
$max_page = ceil($num_rows/$rows_per_page);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$max_page = 1;
|
||||||
|
}
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
$language = new text;
|
$language = new text;
|
||||||
$text = $language->get();
|
$text = $language->get();
|
||||||
|
|
@ -188,4 +191,4 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue