From 53521d25ffd5600d0e335898a97f63219a1846d4 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 25 Mar 2020 08:07:43 +0100 Subject: [PATCH] return error returned by RemoveDocument Controller --- op/op.Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.Ajax.php b/op/op.Ajax.php index 64239460c..1510f3f06 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -546,7 +546,7 @@ switch($command) { add_log_line(); } else { header('Content-Type: application/json'); - echo json_encode(array('success'=>false, 'message'=>getMLText('error_remove_document'), 'data'=>'')); + echo json_encode(array('success'=>false, 'message'=>getMLText('error_remove_document')."
".getMLText($controller->getErrorMsg()), 'data'=>'')); } } else { header('Content-Type: application/json');