]> git.mxchange.org Git - friendica.git/blobdiff - mod/notice.php
Merge pull request #5997 from annando/notice-relocation
[friendica.git] / mod / notice.php
index 199c6d1b5d59dff1eeec553de8e6a8c271e4167f..b40f0ee69cf5bfd9fef800f27c19181b1a5f011f 100644 (file)
@@ -15,7 +15,7 @@ function notice_init(App $a)
        $r = q("SELECT `user`.`nickname` FROM `user` LEFT JOIN `item` ON `item`.`uid` = `user`.`uid` WHERE `item`.`id` = %d", intval($id));
        if (DBA::isResult($r)) {
                $nick = $r[0]['nickname'];
-               $a->redirect('display/' . $nick . '/' . $id);
+               $a->internalRedirect('display/' . $nick . '/' . $id);
        } else {
                $a->error = 404;
                notice(L10n::t('Item not found.') . EOL);