summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/index.php1
-rw-r--r--app/model/issue.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/index.php b/app/index.php
index 4607351..7f05479 100644
--- a/app/index.php
+++ b/app/index.php
@@ -122,6 +122,7 @@ function main(array $argv) : void
/* page not found */
else
{
+ header("HTTP/1.1 404 Not Found");
require "view/404.php";
}
}
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);
}
}