mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
return error returned by RemoveDocument Controller
This commit is contained in:
parent
f5c2add12c
commit
53521d25ff
|
@ -546,7 +546,7 @@ switch($command) {
|
||||||
add_log_line();
|
add_log_line();
|
||||||
} else {
|
} else {
|
||||||
header('Content-Type: application/json');
|
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')."<br />".getMLText($controller->getErrorMsg()), 'data'=>''));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user