From 63e799689171b645ab616916e29725969be78bb1 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 7 May 2020 03:47:45 -0400 Subject: [PATCH] Improve formatting in ActivityPub\Transmitter --- src/Protocol/ActivityPub/Transmitter.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 84a6d61be6..0dfef3ebde 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -86,9 +86,9 @@ class Transmitter $condition = DBA::buildCondition($parameters); $sql = "SELECT COUNT(*) as `count` - FROM `contact` - JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url` - " . $condition; + FROM `contact` + JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url` + " . $condition; $contacts = DBA::fetchFirst($sql, ...$parameters); @@ -112,10 +112,10 @@ class Transmitter $list = []; $sql = "SELECT `contact`.`url` - FROM `contact` - JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url` - " . $condition . " - LIMIT ?, ?"; + FROM `contact` + JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url` + " . $condition . " + LIMIT ?, ?"; $parameters[] = ($page - 1) * 100; $parameters[] = 100; -- 2.39.5