Adjusted Var-Names and added modal-view-file

This commit is contained in:
int2001
2024-11-08 14:47:07 +00:00
parent 1d09e4e92d
commit 619ab160c4
2 changed files with 26 additions and 2 deletions

View File

@@ -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() {