diff --git a/htdocs/lib/view.php b/htdocs/lib/view.php index b12beed478ce4846312d5d0263d0b6070a120c33..4f074a859ace2243deb072cbb4691b6ec75350ab 100644 --- a/htdocs/lib/view.php +++ b/htdocs/lib/view.php @@ -1552,7 +1552,7 @@ class View { break; case 'friends': if (!$this->owner) { - continue; // Don't add friend access to group, institution or system views + continue 2; // Don't add friend access to group, institution or system views } case 'public': case 'loggedin':