Skip to content

Commit

Permalink
Fix skipping address books (Bug #14315).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Apr 4, 2016
1 parent a77c836 commit 145f540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turba/lib/Application.php
Expand Up @@ -703,7 +703,7 @@ public function davGetCollections($user)
($user != '-system-' &&
$hordeUser != $share->get('owner') &&
$hordeUser != $registry->getAuth())) {
continue;
continue 2;
}
$readOnly = !$share->hasPermission($hordeUser, Horde_Perms::EDIT);
break;
Expand All @@ -712,7 +712,7 @@ public function davGetCollections($user)
case 'favourites':
case 'vbook':
if ($user == '-system-') {
continue;
continue 2;
}
$readOnly = true;
break;
Expand Down

0 comments on commit 145f540

Please sign in to comment.