fix permalink for cards

This commit is contained in:
zotlabs 2017-08-23 19:18:44 -07:00
parent 89df4551aa
commit 8873fbfee9

View File

@ -735,6 +735,10 @@ class Item extends \Zotlabs\Web\Controller {
if($parent_item)
$parent_mid = $parent_item['mid'];
if($webpage == ITEM_TYPE_CARD && $pagetitle) {
$plink = z_root() . '/cards/' . $channel['channel_address'] . '/' . $pagetitle;
}
// Fallback so that we alway have a thr_parent
if(!$thr_parent)