make error message more precise. can only happen here.

This commit is contained in:
DB4SCW
2025-09-09 10:14:55 +00:00
parent 86a1e40d45
commit 4a45929937

View File

@@ -67,8 +67,8 @@ class Hrdlog extends CI_Controller {
//check for credential errors before accessing them
if($result == false){
$data['status'] = 'Credential_Error';
$data['infomessage'] = __("HRD Log upload for this station is disabled or credentials not filled in completely.");
$data['errormessages'] = array(__("HRD Log upload for this station is disabled or credentials not filled in completely."));
$data['infomessage'] = __("HRD Log upload for this station is disabled.");
$data['errormessages'] = array(__("HRD Log upload for this station is disabled."));
echo json_encode($data);
return;
}