Passed
Pull Request — master (#3460)
by
unknown
07:49
created
app/Functions/FunctionsEdit.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -588,13 +588,13 @@
 block discarded – undo
588 588
 
589 589
             //preserve order
590 590
             foreach ($selected as $s) {
591
-              //spec strictly has ', ' as delimiter, seems a bit confused about this though ("Each enumeration is separated by a comma.")
592
-              $s = trim($s);
593
-              if (array_key_exists($s, $sour_data_even)) {
591
+                //spec strictly has ', ' as delimiter, seems a bit confused about this though ("Each enumeration is separated by a comma.")
592
+                $s = trim($s);
593
+                if (array_key_exists($s, $sour_data_even)) {
594 594
                 $val = $sour_data_even[$s];
595 595
                 unset($sour_data_even[$s]);
596 596
                 $sour_data_even[$s] = $val;
597
-              }
597
+                }
598 598
             }
599 599
             
600 600
             $html .= view('components/select', ['name' => $id . '[]', 'id' => $id, 'selected' => $selected, 'options' => $sour_data_even, 'class' => 'select2ordered']);
Please login to merge, or discard this patch.