Completed
Push — FVSv2 ( ba4231...5170c8 )
by Patrick
01:38
created
api/v1/class.Processor.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
         }
48 48
         for($i = 0; $i < $certCount; $i++)
49 49
         {
50
-             if($this->certCheck($requirements, $userCerts, $certs[$i]['certID']))
51
-             {
52
-                 return array('whyClass' => 'CERT', 'whyMsg' => 'Shift requires '.$certs[$i]['name'].' and you do not have that certification');
53
-             }
50
+                if($this->certCheck($requirements, $userCerts, $certs[$i]['certID']))
51
+                {
52
+                    return array('whyClass' => 'CERT', 'whyMsg' => 'Shift requires '.$certs[$i]['name'].' and you do not have that certification');
53
+                }
54 54
         }
55 55
         return true;
56 56
     }
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             $tmp = $dataTable->read();
189 189
             foreach($tmp as $role)
190 190
             {
191
-               $roles[$role['short_name']] = $role;
191
+                $roles[$role['short_name']] = $role;
192 192
             }
193 193
         }
194 194
         $shift = new \VolunteerShift(false, $entry);
Please login to merge, or discard this patch.