diff --git a/op/op.OverrideContentStatus.php b/op/op.OverrideContentStatus.php index 172ab9e0f..2b21e45ca 100644 --- a/op/op.OverrideContentStatus.php +++ b/op/op.OverrideContentStatus.php @@ -59,7 +59,7 @@ if (!is_object($content)) { } if (!isset($_POST["overrideStatus"]) || !is_numeric($_POST["overrideStatus"]) || - (intval($_POST["overrideStatus"]) != S_RELEASED && intval($_POST["overrideStatus"]) != S_OBSOLETE && intval($_POST["overrideStatus"]) != S_DRAFT)) { + (intval($_POST["overrideStatus"]) != S_RELEASED && intval($_POST["overrideStatus"]) != S_OBSOLETE && intval($_POST["overrideStatus"]) != S_DRAFT && intval($_POST["overrideStatus"]) != S_NEEDS_CORRECTION)) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("invalid_status")); }