aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-08 08:29:04 +0000
committerMario <mario@mariovavti.com>2021-05-08 08:29:04 +0000
commit954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f (patch)
tree093f2790b8e04c6ef83d32f435133d97ab45c528 /Zotlabs/Lib/Activity.php
parentc2e007a8392be62c2698e5519b6d0dc0ec92a92b (diff)
downloadvolse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.tar.gz
volse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.tar.bz2
volse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.zip
remove redundant placeholder in query
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index e036c7b1e..6e8344def 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -132,8 +132,8 @@ class Activity {
}
static function fetch_profile($x) {
- $r = q("select * from xchan where xchan_url like '%s' limit 1",
- dbesc($x['id'] . '/%')
+ $r = q("select * from xchan where xchan_url = '%s' limit 1",
+ dbesc($x['id'])
);
if (!$r) {
$r = q("select * from xchan where xchan_hash = '%s' limit 1",