diff --git a/pandora_console/godmode/resources/resources_export_import.php b/pandora_console/godmode/resources/resources_export_import.php index 8443b81d3c..b7fc23704a 100644 --- a/pandora_console/godmode/resources/resources_export_import.php +++ b/pandora_console/godmode/resources/resources_export_import.php @@ -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.'] ]; } }