diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-23 19:18:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-23 19:18:44 -0700 |
commit | 8873fbfee9a8c0437fa1acdf1588aeb3fd3e7681 (patch) | |
tree | 0e842d00ca0a59b8a4a6a615f92891f2d231b194 /Zotlabs/Module/Item.php | |
parent | 89df4551aa22aa4c9a30221d4b13ae715673d567 (diff) | |
download | volse-hubzilla-8873fbfee9a8c0437fa1acdf1588aeb3fd3e7681.tar.gz volse-hubzilla-8873fbfee9a8c0437fa1acdf1588aeb3fd3e7681.tar.bz2 volse-hubzilla-8873fbfee9a8c0437fa1acdf1588aeb3fd3e7681.zip |
fix permalink for cards
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 5e7a3fbc0..797b46f93 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -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) |