mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
do not show workflow tab if workflow was ended
This commit is contained in:
parent
faf62aaff0
commit
368b0fc6a5
|
@ -106,5 +106,7 @@ if($ret = $version->triggerWorkflowTransition($user, $transition, $_POST["commen
|
|||
|
||||
add_log_line("?documentid=".$documentid."&version".$version_num);
|
||||
|
||||
header("Location:../out/out.ViewDocument.php?documentid=".$documentid."¤ttab=workflow");
|
||||
?>
|
||||
if($version->getStatus()['status'] == S_IN_WORKFLOW)
|
||||
header("Location:../out/out.ViewDocument.php?documentid=".$documentid."¤ttab=workflow");
|
||||
else
|
||||
header("Location:../out/out.ViewDocument.php?documentid=".$documentid);
|
||||
|
|
Loading…
Reference in New Issue
Block a user