Skip to content

Commit

Permalink
fix(target): continue keyword in switch
Browse files Browse the repository at this point in the history
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Jul 10, 2018
1 parent 6dfaae9 commit 576c891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/targetbase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected function prepareActors(PluginFormcreatorForm $form, PluginFormcreatorF
]);

if ($answer->isNewItem()) {
continue;
continue 2;
} else {
$userIds = [$answer->getField('answer')];
}
Expand All @@ -235,7 +235,7 @@ protected function prepareActors(PluginFormcreatorForm $form, PluginFormcreatorF
]);

if ($answer->isNewItem()) {
continue;
continue 2;
} else {
$userIds = array_filter(explode(',', trim($answer->getField('answer'))));
}
Expand Down

0 comments on commit 576c891

Please sign in to comment.