* Fix bug for task #55255.

This commit is contained in:
liumengyi
2022-05-24 13:39:27 +08:00
parent 94e8879729
commit 94078cdc6c
+1 -1
View File
@@ -72,7 +72,7 @@
$canEdit = common::hasPriv('kanban','edit');
$canDelete = common::hasPriv('kanban','delete');
$canClose = (common::hasPriv('kanban', 'close') and $kanban->status == 'active');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'close');
$canActivate = (common::hasPriv('kanban', 'activate') and $kanban->status == 'closed');
?>
<?php if($canEdit or $canDelete or $canClose or $canActivate):?>
<div class='kanban-actions kanban-actions<?php echo $kanbanID;?>'>