diff --git a/application/controllers/Oqrs.php b/application/controllers/Oqrs.php index fd4caa615..70a532626 100644 --- a/application/controllers/Oqrs.php +++ b/application/controllers/Oqrs.php @@ -117,7 +117,7 @@ class Oqrs extends CI_Controller { if($this->input->post('widget') != 'true') { $this->load->view('oqrs/request_grouped', $data); } else { - $data['stations'] = $this->oqrs_model->get_oqrs_stations($userid)->result(); + $data['stations'] = $this->oqrs_model->get_oqrs_stations($userid); $data['page_title'] = __("Log Search & OQRS"); $data['global_oqrs_text'] = $this->optionslib->get_option('global_oqrs_text'); $data['groupedSearch'] = 'on'; diff --git a/application/views/oqrs/index.php b/application/views/oqrs/index.php index 8bdc1bd38..e09039681 100644 --- a/application/views/oqrs/index.php +++ b/application/views/oqrs/index.php @@ -13,64 +13,63 @@