@@ -361,7 +361,7 @@ |
||
361 | 361 | } |
362 | 362 | |
363 | 363 | $task = $job->getTask(); |
364 | - if(isset($taskDescriptions[$task])){ |
|
364 | + if (isset($taskDescriptions[$task])) { |
|
365 | 365 | $description = $taskDescriptions[$task]; |
366 | 366 | } else { |
367 | 367 | $description = 'Unknown task'; |
@@ -361,9 +361,10 @@ |
||
361 | 361 | } |
362 | 362 | |
363 | 363 | $task = $job->getTask(); |
364 | - if(isset($taskDescriptions[$task])){ |
|
364 | + if(isset($taskDescriptions[$task])) { |
|
365 | 365 | $description = $taskDescriptions[$task]; |
366 | - } else { |
|
366 | + } |
|
367 | + else { |
|
367 | 368 | $description = 'Unknown task'; |
368 | 369 | } |
369 | 370 |
@@ -184,7 +184,7 @@ |
||
184 | 184 | $emailDomain = explode("@", $request->getEmail())[1]; |
185 | 185 | $this->assign("emailurl", $emailDomain); |
186 | 186 | $this->assign('commonEmailDomain', in_array(strtolower($emailDomain), $configuration->getCommonEmailDomains()) |
187 | - || $request->getEmail() === $this->getSiteConfiguration()->getDataClearEmail() ); |
|
187 | + || $request->getEmail() === $this->getSiteConfiguration()->getDataClearEmail()); |
|
188 | 188 | |
189 | 189 | $trustedIp = $xffProvider->getTrustedClientIp($request->getIp(), $request->getForwardedIp()); |
190 | 190 | $this->assign('requestTrustedIp', $trustedIp); |