X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Factions%2Fqnareviseanswer.php;h=707a81f8ac6b21c29f05c4d4ebc7c462a6ef8a0a;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=ce4bdea56ac5bcdb36799a7625ac17c65be96956;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/actions/qnareviseanswer.php b/plugins/QnA/actions/qnareviseanswer.php index ce4bdea56a..707a81f8ac 100644 --- a/plugins/QnA/actions/qnareviseanswer.php +++ b/plugins/QnA/actions/qnareviseanswer.php @@ -88,7 +88,7 @@ class QnareviseanswerAction extends Action $id = substr($this->trimmed('id'), 7); - $this->answer = QnA_Answer::staticGet('id', $id); + $this->answer = QnA_Answer::getKV('id', $id); $this->question = $this->answer->getQuestion(); if (empty($this->answer) || empty($this->question)) {