From d3cf89660bf922727bbda2ace08f74e92f125ab9 Mon Sep 17 00:00:00 2001 From: noud Date: Mon, 19 Nov 2012 09:02:43 +0100 Subject: [PATCH] sync conform the new distribution. pull on events works too. --- app/Controller/ServersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/ServersController.php b/app/Controller/ServersController.php index cd760dbdc..c19f32f6f 100644 --- a/app/Controller/ServersController.php +++ b/app/Controller/ServersController.php @@ -181,7 +181,7 @@ class ServersController extends AppController { switch($event['Event']['distribution']) { case 'Your organization only': // Distribution, no Org only in Event case 'This server-only': - continue; + continue 2; // to the next iteration of the outer loop break; case 'This Community-only': // Distribution, correct Community to Org only in Event $event['Event']['distribution'] = 'Your organization only';