aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-07-16 11:12:32 +0200
committerMax Kostikov <max@kostikov.co>2021-07-16 11:12:32 +0200
commitc68f2bc2d16c3c9fd351eba1d61914683cd89c8a (patch)
tree5fec02c96517cd75c3db0f4de538d70cc2641daa /Zotlabs/Module
parentf5669c993545ab93e97e55e9f0ea1b2dcffe3573 (diff)
downloadvolse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.tar.gz
volse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.tar.bz2
volse-hubzilla-c68f2bc2d16c3c9fd351eba1d61914683cd89c8a.zip
Fix link to source on clones
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Item.php5
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) {