summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-11-05 02:56:36 -0500
committerMalf Furious <m@lfurio.us>2018-11-05 02:56:36 -0500
commitfead9f76a6f620642e0051d0065e689580af7d90 (patch)
treedde38c422cbd7faf4e8ab99839c82b3ccbe186c4 /app
parenta0f4582d26578bfde0de941309da7ce1477e8e8e (diff)
downloadscrott-fead9f76a6f620642e0051d0065e689580af7d90.tar.gz
scrott-fead9f76a6f620642e0051d0065e689580af7d90.zip
Fix bug in 'iss-mesg-add' form handler
When closing issues, we were using a malformed format string. The 's' from the '%s' was missing. Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r--app/model/issue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/model/issue.php b/app/model/issue.php
index 923bfc2..7159015 100644
--- a/app/model/issue.php
+++ b/app/model/issue.php
@@ -99,7 +99,7 @@ if (isAction("iss-mesg-add"))
$issue->close($user);
logError(NOTICE, "Issue #" . $issue->numb . " closed");
- $log = mesg::initNewLog("% closed issue", $user, $issue);
+ $log = mesg::initNewLog("%s closed issue", $user, $issue);
}
}