diff options
author | Max Kostikov <max@kostikov.co> | 2021-07-16 11:12:32 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-07-16 11:12:32 +0200 |
commit | c68f2bc2d16c3c9fd351eba1d61914683cd89c8a (patch) | |
tree | 5fec02c96517cd75c3db0f4de538d70cc2641daa | |
parent | f5669c993545ab93e97e55e9f0ea1b2dcffe3573 (diff) | |
download | volse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.tar.gz volse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.tar.bz2 volse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.zip |
Fix link to source on clones
-rw-r--r-- | Zotlabs/Module/Item.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 518352667..8c9bf2708 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -280,9 +280,10 @@ class Item extends Controller { if(argc() > 1 && argv(1) !== 'drop') { - $x = q("select uid, item_wall, llink, mid from item where mid = '%s' or mid = '%s' ", + $x = q("select uid, item_wall, llink, mid from item where mid = '%s' or mid = '%s' or uuid = '%s'", dbesc(z_root() . '/item/' . argv(1)), - dbesc(z_root() . '/activity/' . argv(1)) + dbesc(z_root() . '/activity/' . argv(1)), + dbesc(argv(1)) ); if($x) { foreach($x as $xv) { |