Passed
Push — master ( 966bed...2e5b1e )
by Andreas
08:51
created
lib/org/openpsa/directmarketing/handler/import.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         $contacts = $importer->parse($input);
143 143
         if (!empty($contacts)) {
144 144
             $this->_request_data['import_status'] = $importer->import_subscribers($contacts, $this->_request_data['campaign']);
145
-            if (   $this->_request_data['import_status']['subscribed_new'] > 0
145
+            if ($this->_request_data['import_status']['subscribed_new'] > 0
146 146
                 || $this->_request_data['import_status']['already_subscribed'] > 0) {
147 147
                 $this->_import_success = true;
148 148
             }
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
                 $read_rows = 0;
200 200
                 $handle = fopen($data['tmp_file'], 'r');
201 201
                 $total_columns = 0;
202
-                while (   $read_rows < 2
202
+                while ($read_rows < 2
203 203
                        && $csv_line = fgetcsv($handle, 1000, $data['separator'])) {
204 204
                     if ($total_columns == 0) {
205 205
                         $total_columns = count($csv_line);
Please login to merge, or discard this patch.