Commit 02abe17f authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon

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 2f544cf3)
parent e98b14c0
......@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment