X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowmessage.php;h=86fbee8b73f95c303ac21f477da1a474d997b00c;hb=182605cb6a2e785df9051860232552211a43a052;hp=1c867af1190ccbff3ff58d88a8cb4da00c91a7b9;hpb=061c8d959ba8351b145a27690d5a4caa477915ca;p=quix0rs-gnu-social.git diff --git a/actions/showmessage.php b/actions/showmessage.php index 1c867af119..86fbee8b73 100644 --- a/actions/showmessage.php +++ b/actions/showmessage.php @@ -69,12 +69,11 @@ class ShowmessageAction extends Action $this->page = 1; $id = $this->trimmed('message'); - $this->message = Message::staticGet('id', $id); + $this->message = Message::getKV('id', $id); if (!$this->message) { // TRANS: Client error displayed requesting a single message that does not exist. $this->clientError(_('No such message.'), 404); - return false; } $this->user = common_current_user();