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 032279b commit 46adba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turba/lib/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,15 +720,15 @@ public function davGetCollections($user)
($user != '-system-' &&
$hordeUser != $share->get('owner') &&
$hordeUser != $registry->getAuth())) {
continue;
continue 2;
}
$readOnly = !$share->hasPermission($hordeUser, Horde_Perms::EDIT);
break;

case 'favourites':
case 'vbook':
if ($user == '-system-') {
continue;
continue 2;
}
$readOnly = true;
break;
Expand Down

0 comments on commit 46adba2

Please sign in to comment.