mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Made download a JS call
This commit is contained in:
@@ -144,7 +144,7 @@ class Clublog extends CI_Controller
|
||||
|
||||
$this->load->model('clublog_model');
|
||||
|
||||
$customDate = $this->input->post('from');
|
||||
$customDate = $this->input->post('date');
|
||||
if ($customDate != NULL) {
|
||||
$clublog_last_date = date($customDate);
|
||||
} else {
|
||||
@@ -161,7 +161,8 @@ class Clublog extends CI_Controller
|
||||
$r = __("No user has configured Clublog.");
|
||||
}
|
||||
|
||||
echo $r;
|
||||
header('Content-type: application/json');
|
||||
echo json_encode($r);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user