aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-05 08:36:18 +0000
committerMario <mario@mariovavti.com>2021-05-05 08:36:18 +0000
commit0dc09ea238adf141d5a93fd1a734d6156c6e6ad3 (patch)
treee551d02bc238b6b131e1c3ae759a8f90ab25cfde /Zotlabs/Module/Display.php
parent8d4b1ba7d499bcb8b3b161f3f55660389d857c46 (diff)
downloadvolse-hubzilla-0dc09ea238adf141d5a93fd1a734d6156c6e6ad3.tar.gz
volse-hubzilla-0dc09ea238adf141d5a93fd1a734d6156c6e6ad3.tar.bz2
volse-hubzilla-0dc09ea238adf141d5a93fd1a734d6156c6e6ad3.zip
possible minor performance improvement
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 21d3e2e08..e6caa9906 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -97,8 +97,8 @@ class Display extends \Zotlabs\Web\Controller {
if($decoded)
$item_hash = $decoded;
- $r = q("select id, uid, mid, parent, parent_mid, thr_parent, verb, item_type, item_deleted, author_xchan, item_blocked from item where mid like '%s' limit 1",
- dbesc($item_hash . '%')
+ $r = q("select id, uid, mid, parent, parent_mid, thr_parent, verb, item_type, item_deleted, author_xchan, item_blocked from item where mid = '%s' limit 1",
+ dbesc($item_hash)
);
if($r) {