fix not working writable sharing

This commit is contained in:
Ralf Becker 2020-10-24 14:45:01 +02:00
parent e166f4eff9
commit 64f335eeb7

View File

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