fix permalink for cards
This commit is contained in:
parent
89df4551aa
commit
8873fbfee9
@ -735,6 +735,10 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
if($parent_item)
|
if($parent_item)
|
||||||
$parent_mid = $parent_item['mid'];
|
$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
|
// Fallback so that we alway have a thr_parent
|
||||||
|
|
||||||
if(!$thr_parent)
|
if(!$thr_parent)
|
||||||
|
Reference in New Issue
Block a user