From 02abe17fd23e6a4c9980ebc4a253df988052498e 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 (cherry picked from commit 2f544cf3ac754b1545eefd9873c322cc5ddd0c24) --- 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 b12beed478..4f074a859a 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': -- GitLab