From 2f544cf3ac754b1545eefd9873c322cc5ddd0c24 Mon Sep 17 00:00:00 2001 From: Rebecca Blundell Date: Tue, 6 Aug 2019 13:05:19 +1200 Subject: [PATCH] Bug 1837855: Error message on create new inst change continue to continue 2 to go to the next item in foreach Change-Id: I6eeb4912f347c58e6290a267855214cd0b20eee2 --- htdocs/lib/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/view.php b/htdocs/lib/view.php index e3c2d490a3..7971ee6f0c 100644 --- a/htdocs/lib/view.php +++ b/htdocs/lib/view.php @@ -1554,7 +1554,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': -- GitLab