mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Bands] Added master checkbox for award
This commit is contained in:
@@ -137,4 +137,16 @@ class Band extends CI_Controller {
|
||||
echo json_encode(array('message' => 'OK'));
|
||||
return;
|
||||
}
|
||||
|
||||
public function saveBandAward() {
|
||||
$award = $this->security->xss_clean($this->input->post('award'));
|
||||
$status = $this->security->xss_clean($this->input->post('status'));
|
||||
|
||||
$this->load->model('bands');
|
||||
$this->bands->saveBandAward($award, $status);
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode(array('message' => 'OK'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user