diff options
author | Mario <mario@mariovavti.com> | 2021-05-08 08:29:04 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-08 08:29:04 +0000 |
commit | 954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f (patch) | |
tree | 093f2790b8e04c6ef83d32f435133d97ab45c528 /Zotlabs/Lib | |
parent | c2e007a8392be62c2698e5519b6d0dc0ec92a92b (diff) | |
download | volse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.tar.gz volse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.tar.bz2 volse-hubzilla-954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f.zip |
remove redundant placeholder in query
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
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", |