|
@@ -47,8 +47,9 @@ class Alarm extends Base_Controller {
|
|
|
$alarmtype = alarm_translate_ch($alarmtype);
|
|
|
}
|
|
|
|
|
|
- $page = !isset($page) ? 1 : $page;
|
|
|
- $limit = empty($count) ? 20 : $count;
|
|
|
+ $page = empty($page) ? 1 : $page;
|
|
|
+ $count = empty($count) ? 20 : $count;
|
|
|
+ $limit = $count;
|
|
|
$offset = ($page - 1)*$count;
|
|
|
$section = $this->input->post('section',true);
|
|
|
|