Skip to content

Commit

Permalink
Correct comment error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 24, 2024
1 parent da845dd commit 84d9a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api_comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private function run_qreq(Qrequest $qreq) {

if ($this->status === self::RESPONSE_REPLACED) {
// report response replacement error
$jr = JsonResult::make_error(404, "<0>{uccmttype} was edited concurrently");
$jr = JsonResult::make_error(404, "<0>{$uccmttype} was edited concurrently");
$jr["conflict"] = true;
} else {
$jr = new JsonResult($this->status, ["ok" => $this->status <= 299]);
Expand Down

0 comments on commit 84d9a4c

Please sign in to comment.