summaryrefslogtreecommitdiffstats
path: root/lib/Db/FollowsRequest.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-11-21 20:58:56 -0100
committerMaxence Lange <maxence@artificial-owl.com>2018-11-21 20:58:56 -0100
commit1875e7fe885f24246437d622edda7d6ff9d61b0a (patch)
tree14a2fd10ffb4047de3f69f167b519398666f3c01 /lib/Db/FollowsRequest.php
parent16d42a9e53539f49547cdb072993f45142ffe77e (diff)
fixing some stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/FollowsRequest.php')
-rw-r--r--lib/Db/FollowsRequest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php
index ea9ae38e..b4197b17 100644
--- a/lib/Db/FollowsRequest.php
+++ b/lib/Db/FollowsRequest.php
@@ -52,7 +52,8 @@ class FollowsRequest extends FollowsRequestBuilder {
$qb = $this->getFollowsInsertSql();
$qb->setValue('id', $qb->createNamedParameter($follow->getId()))
->setValue('actor_id', $qb->createNamedParameter($follow->getActorId()))
- ->setValue('object_id', $qb->createNamedParameter($follow->getObjectId()));
+ ->setValue('object_id', $qb->createNamedParameter($follow->getObjectId()))
+ ->setValue('follow_id', $qb->createNamedParameter($follow->getFollowId()));
$qb->execute();
}