sql issue

This commit is contained in:
Mike Macgirvin 2024-09-06 08:13:15 +10:00
parent 8befb91021
commit 59320ff34d

View file

@ -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) {