summaryrefslogtreecommitdiffstats
path: root/lib/Db/FollowsRequest.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-03-05 11:28:14 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-03-05 11:28:14 -0100
commit12d86ac5d2a18ffa0aacf8b372416a7fa892c868 (patch)
tree531225884c56441f7dc5f7093614ac5d46a07e68 /lib/Db/FollowsRequest.php
parente6e8c270a4c6fb5aa6a584eb6bb886e252360bb6 (diff)
generate id_prim on new insert
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/FollowsRequest.php')
-rw-r--r--lib/Db/FollowsRequest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php
index a22375d9..6c9855a9 100644
--- a/lib/Db/FollowsRequest.php
+++ b/lib/Db/FollowsRequest.php
@@ -66,6 +66,8 @@ class FollowsRequest extends FollowsRequestBuilder {
$qb->createNamedParameter(new DateTime('now'), IQueryBuilder::PARAM_DATE)
);
+ $this->generatePrimaryKey($qb, $follow->getId());
+
$qb->execute();
}