@@ -47,10 +47,10 @@ discard block |
||
| 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 | } |
@@ -178,15 +178,15 @@ discard block |
||
| 178 | 178 | { |
| 179 | 179 | if(isset($entry['volunteer'])) |
| 180 | 180 | { |
| 181 | - unset($entry['volunteer']); |
|
| 181 | + unset($entry['volunteer']); |
|
| 182 | 182 | } |
| 183 | 183 | if(isset($entry['why'])) |
| 184 | 184 | { |
| 185 | - unset($entry['why']); |
|
| 185 | + unset($entry['why']); |
|
| 186 | 186 | } |
| 187 | 187 | if(isset($entry['whyClass'])) |
| 188 | 188 | { |
| 189 | - unset($entry['whyClass']); |
|
| 189 | + unset($entry['whyClass']); |
|
| 190 | 190 | } |
| 191 | 191 | } |
| 192 | 192 | |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | $tmp = $dataTable->read(); |
| 209 | 209 | foreach($tmp as $role) |
| 210 | 210 | { |
| 211 | - $roles[$role['short_name']] = $role; |
|
| 211 | + $roles[$role['short_name']] = $role; |
|
| 212 | 212 | } |
| 213 | 213 | } |
| 214 | 214 | $this->cleanupNonDBFields($entry); |