]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/QnA/QnAPlugin.php
Notice URIs are not necessarily URLs.
[quix0rs-gnu-social.git] / plugins / QnA / QnAPlugin.php
index ee452deab194e6def64ffd6ea82acdc1dcb34369..d874441d85a691f87aa13a2ce00bcc112564117b 100644 (file)
@@ -465,7 +465,7 @@ class QnAPlugin extends MicroAppPlugin
             $ellipsis = _m('…');
             $short = mb_substr($content, 0, $max - 1);
             $short .= sprintf('<a href="%1$s" rel="more" title="%2$s">%3$s</a>',
-                              $notice->uri,
+                              $notice->getUrl(),
                               // TRANS: Title for link that is an ellipsis in English.
                               _m('more...'),
                               $ellipsis);