summaryrefslogtreecommitdiffstats
path: root/app/model/issue.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/model/issue.php')
-rw-r--r--app/model/issue.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/model/issue.php b/app/model/issue.php
index 7159015..dd904e4 100644
--- a/app/model/issue.php
+++ b/app/model/issue.php
@@ -68,6 +68,8 @@ if (isAction("iss-mesg-add"))
}
else
{
+ $issue->signoffAssignee($user);
+ logError(NOTICE, "Issue #" . $issue->numb . " closed");
$log = mesg::initNewLog("%s closed issue", $user, $issue);
}
}
@@ -97,10 +99,14 @@ if (isAction("iss-mesg-add"))
return;
}
+ $issue->signoffAssignee($user);
$issue->close($user);
logError(NOTICE, "Issue #" . $issue->numb . " closed");
$log = mesg::initNewLog("%s closed issue", $user, $issue);
}
+
+ /* automatically redisplay issue modal */
+ setAutoModal("#issueModal-" . $issue->guid);
}
?>