diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-08-24 20:18:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-08-24 20:18:18 +0200 |
commit | cdccf601320ec7e59f5d96438edac34d5ea30085 (patch) | |
tree | d08cdd7e50dca5fbbffa96d922536db745bc0233 /Zotlabs/Module/Item.php | |
parent | df2725a360f173d7521d8a552608014968763288 (diff) | |
parent | 85f24c292f071b9a83aea0aa122231afd57e7f73 (diff) | |
download | volse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.tar.gz volse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.tar.bz2 volse-hubzilla-cdccf601320ec7e59f5d96438edac34d5ea30085.zip |
Merge remote-tracking branch 'mike/master' into dev
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) |