mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Included parse error message
This commit is contained in:
parent
59e53cc4cc
commit
2421f07291
@ -52,8 +52,9 @@ if (isset($_FILES['resource_import']) === true) {
|
|||||||
$msg = $prd->importPrd($data);
|
$msg = $prd->importPrd($data);
|
||||||
} else {
|
} else {
|
||||||
$msg = [
|
$msg = [
|
||||||
'error' => true,
|
'status' => false,
|
||||||
'msg_error' => ('No se ha podido parsear'),
|
'items' => [],
|
||||||
|
'errors' => ['Unexpected error: Unable to parse PRD file.']
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user