diff --git a/application/controllers/Radio.php b/application/controllers/Radio.php index 9b878a027..68c5b9e02 100644 --- a/application/controllers/Radio.php +++ b/application/controllers/Radio.php @@ -116,10 +116,10 @@ class Radio extends CI_Controller { } public function saveCatUrl() { - $name = xss_clean($this->input->post('name', true)); + $url = xss_clean($this->input->post('caturl', true)); $id = xss_clean($this->input->post('id', true)); $this->load->model('cat'); - $this->cat->updateCatUrl($id,$name); + $this->cat->updateCatUrl($id,$url); } public function editCatUrl() { diff --git a/application/views/radio/edit.php b/application/views/radio/edit.php new file mode 100644 index 000000000..86dd0c81e --- /dev/null +++ b/application/views/radio/edit.php @@ -0,0 +1,24 @@ +