From 64f335eeb716087f2afac5cc89bf8a6fb7f7576f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 24 Oct 2020 14:45:01 +0200 Subject: [PATCH] fix not working writable sharing --- api/src/Contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts.php b/api/src/Contacts.php index 60a733e499..906c354dc8 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -1292,7 +1292,7 @@ class Contacts extends Contacts\Storage { if (!empty($shared['shared_by']) && $shared['shared_by'] != $this->user) { - $grants = $this->get_grants($user); + $grants = $this->get_grants($shared['shared_by']); } else {