mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Handle disabled qrz upload settings (correctly)
This commit is contained in:
@@ -249,7 +249,9 @@ class Qrz extends CI_Controller {
|
||||
echo json_encode($data);
|
||||
}
|
||||
} else {
|
||||
$data['status']='QRZ Disabled for station'.$this->security->xss_clean($postData['station_id']);
|
||||
$profile = $this->stations->profile($this->security->xss_clean($postData['station_id']))->row()->station_profile_name;
|
||||
$data['status']='Error';
|
||||
$data['info']='QRZ upload disabled for station profile:'.' '.$profile;
|
||||
echo json_encode($data);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user