diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-08-11 10:56:00 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-08-11 10:56:00 +0200 |
commit | f5062c0507e0d5ad4377f626d2cbd9b9b82eb1ca (patch) | |
tree | 4909c0d6c500b48ebb0fc6355f305647ce2327f2 | |
parent | 7a7f57fa451dd5bba07fcc7155a21f233051877e (diff) | |
parent | f0d7a17b728a28ae1929785f4484a26b71bfb07f (diff) | |
download | volse-hubzilla-f5062c0507e0d5ad4377f626d2cbd9b9b82eb1ca.tar.gz volse-hubzilla-f5062c0507e0d5ad4377f626d2cbd9b9b82eb1ca.tar.bz2 volse-hubzilla-f5062c0507e0d5ad4377f626d2cbd9b9b82eb1ca.zip |
Merge branch 'dev' into 4.4RC
-rw-r--r-- | Zotlabs/Module/Linkinfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Linkinfo.php b/Zotlabs/Module/Linkinfo.php index fcf8a6aa1..76c679cc5 100644 --- a/Zotlabs/Module/Linkinfo.php +++ b/Zotlabs/Module/Linkinfo.php @@ -52,7 +52,7 @@ class Linkinfo extends \Zotlabs\Web\Controller { if (!empty($mid) && $mid[1] == 'mid=b64.') $mid[2] = base64_decode($mid[2]); - $r = q("SELECT id FROM item WHERE mid = '%s' AND uid = %d LIMIT 1", + $r = q("SELECT id FROM item WHERE mid = '%s' AND uid = %d AND item_private = 0 LIMIT 1", dbesc((empty($mid) ? $url : $mid[2])), intval(local_channel()) ); |