fix not working writable sharing

This commit is contained in:
Ralf Becker 2020-10-24 14:45:01 +02:00
parent 312439c694
commit 090c443f20

View File

@ -1292,7 +1292,7 @@ class Contacts extends Contacts\Storage
{ {
if (!empty($shared['shared_by']) && $shared['shared_by'] != $this->user) if (!empty($shared['shared_by']) && $shared['shared_by'] != $this->user)
{ {
$grants = $this->get_grants($user); $grants = $this->get_grants($shared['shared_by']);
} }
else else
{ {