diff options
author | Mario <mario@mariovavti.com> | 2021-07-16 09:46:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-07-16 09:46:08 +0000 |
commit | d7489e3913d263c8e6ea022d06244cedae6f2582 (patch) | |
tree | cd73f32287407f8d5768034a5cd3e9ef6adee2f0 | |
parent | 62606bf006c83c7a7ad44121feebedd81cd43a79 (diff) | |
parent | c68f2bc2d16c3c9fd351eba1d61914683cd89c8a (diff) | |
download | volse-hubzilla-d7489e3913d263c8e6ea022d06244cedae6f2582.tar.gz volse-hubzilla-d7489e3913d263c8e6ea022d06244cedae6f2582.tar.bz2 volse-hubzilla-d7489e3913d263c8e6ea022d06244cedae6f2582.zip |
Merge branch 'dev' into 'dev'
Fix link to source on clones
See merge request hubzilla/core!1975
-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) { |