Included parse error message

This commit is contained in:
Enrique Martin 2024-02-07 04:16:51 +01:00
parent 59e53cc4cc
commit 2421f07291
1 changed files with 3 additions and 2 deletions

View File

@ -52,8 +52,9 @@ if (isset($_FILES['resource_import']) === true) {
$msg = $prd->importPrd($data);
} else {
$msg = [
'error' => true,
'msg_error' => ('No se ha podido parsear'),
'status' => false,
'items' => [],
'errors' => ['Unexpected error: Unable to parse PRD file.']
];
}
}