Fix get acl

This commit is contained in:
brantje 2016-10-04 14:55:50 +02:00
parent 699a3796d3
commit 99c7f4d4c2
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -340,7 +340,7 @@ class ShareController extends ApiController {
$acl = $this->shareService->getCredentialAclList($item_guid);
try {
$credential = $this->credentialService->getCredentialByGUID($item_guid);
if ($credential->getUserId() == $this->userId){
if ($credential->getUserId() == $this->userId->getUID()){
return new JSONResponse($acl);
}
else{