diff options
author | Mario <mario@mariovavti.com> | 2021-05-05 08:36:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-05 08:36:18 +0000 |
commit | 0dc09ea238adf141d5a93fd1a734d6156c6e6ad3 (patch) | |
tree | e551d02bc238b6b131e1c3ae759a8f90ab25cfde /Zotlabs/Module/Display.php | |
parent | 8d4b1ba7d499bcb8b3b161f3f55660389d857c46 (diff) | |
download | volse-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.php | 4 |
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) { |