]> git.mxchange.org Git - friendica.git/blobdiff - mod/content.php
Usage of /display/(guid) as path instead of /display/(user)/(id)
[friendica.git] / mod / content.php
index a992d1c8a70643737c22f5105e730d58fef53900..fa32b576cd00a2d13046480ec32e17d43aa07327 100644 (file)
@@ -493,7 +493,8 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
                                        'like' => '',
                                        'dislike' => '',
                                        'comment' => '',
-                                       'conv' => (($preview) ? '' : array('href'=> $a->get_baseurl($ssl_state) . '/display/' . $nickname . '/' . $item['id'], 'title'=> t('View in context'))),
+                                       //'conv' => (($preview) ? '' : array('href'=> $a->get_baseurl($ssl_state) . '/display/' . $nickname . '/' . $item['id'], 'title'=> t('View in context'))),
+                                       'conv' => (($preview) ? '' : array('href'=> $a->get_baseurl($ssl_state).'/display/'.$item['guid'], 'title'=> t('View in context'))),
                                        'previewing' => $previewing,
                                        'wait' => t('Please wait'),
                                );