mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
allow to set status S_NEEDS_CORRECTION
This commit is contained in:
parent
7e3f490b57
commit
40ddfd3ea6
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user