From 59320ff34d057aaa747e72c345fd862bae333161 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 6 Sep 2024 08:13:15 +1000 Subject: [PATCH] sql issue --- src/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lib/Activity.php b/src/Lib/Activity.php index 7a6942fc8..10077f04d 100644 --- a/src/Lib/Activity.php +++ b/src/Lib/Activity.php @@ -5190,7 +5190,7 @@ class Activity $actorId = new ActorId($url); if ($actorId->getType() === ActorId::ACTORID_TYPE_DIDKEY) { $ekey = str_replace('did:key:', '', $actorId->getId()); - $query = q("select * from xchan where epubkey = '%s'", + $query = q("select * from xchan where xchan_epubkey = '%s'", dbesc($ekey) ); if ($query) {