diff options
-rw-r--r-- | app/model/datamods.php | 1 | ||||
-rw-r--r-- | app/model/issue.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/model/datamods.php b/app/model/datamods.php index e2051f3..0b7f3da 100644 --- a/app/model/datamods.php +++ b/app/model/datamods.php @@ -112,6 +112,7 @@ if (isAction("dm-issue-add")) $mesg = mesg::initNewDiscussion($form->name, $form->mesg, $user, $pad); $issue = issue::initNew($mesg, $user, $stages[0]); + $log = mesg::initNewLog("%s opened issue", $user, $issue); location(); // bug mitigation } diff --git a/app/model/issue.php b/app/model/issue.php index 2120256..4300bbb 100644 --- a/app/model/issue.php +++ b/app/model/issue.php @@ -51,6 +51,7 @@ if (isAction("iss-mesg-add")) { $issue->close($user); logError(NOTICE, "Issue #" . $issue->numb . " closed"); + $log = mesg::initNewLog("% closed issue", $user, $issue); } } |