diff --git a/op/op.RemoveDocument.php b/op/op.RemoveDocument.php index f700b96ac..93b013646 100644 --- a/op/op.RemoveDocument.php +++ b/op/op.RemoveDocument.php @@ -78,7 +78,7 @@ $docname = $document->getName(); $controller->setParam('document', $document); $controller->setParam('fulltextservice', $fulltextservice); -if(!$controller->run()) { +if(!$controller($_POST)) { if ($controller->getErrorMsg() != '') $errormsg = $controller->getErrorMsg(); else