X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Factions%2Fqnareviseanswer.php;fp=plugins%2FQnA%2Factions%2Fqnareviseanswer.php;h=e2e76a787356b768bceea32094c81f507c1cfc21;hb=7d191f8062e5d117ac234737bc7ab838859dc4d6;hp=c08edb2cc3a7429a9e02ab4404fb9e780a90cfce;hpb=c1d2f2516ac361f26bfa0184d7c3f87abbbd10cc;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/actions/qnareviseanswer.php b/plugins/QnA/actions/qnareviseanswer.php index c08edb2cc3..e2e76a7873 100644 --- a/plugins/QnA/actions/qnareviseanswer.php +++ b/plugins/QnA/actions/qnareviseanswer.php @@ -166,7 +166,7 @@ class QnareviseanswerAction extends Action $this->elementEnd('body'); $this->endHTML(); } else { - common_redirect($this->answer->bestUrl(), 303); + common_redirect($this->answer->getUrl(), 303); } } @@ -208,7 +208,7 @@ class QnareviseanswerAction extends Action $this->elementEnd('body'); $this->endHTML(); } else { - common_redirect($this->answer->bestUrl(), 303); + common_redirect($this->answer->getUrl(), 303); } }