mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Prevent leaking of CI-Errors / State 500 when calling function without key
This commit is contained in:
@@ -128,7 +128,7 @@ class API extends CI_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
function station_info($key) {
|
||||
function station_info($key = '') {
|
||||
$this->load->model('api_model');
|
||||
$this->load->model('stations');
|
||||
header("Content-type: application/json");
|
||||
|
||||
Reference in New Issue
Block a user