@@ -285,7 +285,9 @@ discard block |
||
| 285 | 285 | } |
| 286 | 286 | |
| 287 | 287 | foreach ($headers as $key => $values) { |
| 288 | - if (isset($imap_headers[$key])) continue; |
|
| 288 | + if (isset($imap_headers[$key])) { |
|
| 289 | + continue; |
|
| 290 | + } |
|
| 289 | 291 | $value = null; |
| 290 | 292 | switch ($key) { |
| 291 | 293 | case 'from': |
@@ -506,7 +508,9 @@ discard block |
||
| 506 | 508 | * Try to extract the priority from a given raw header string |
| 507 | 509 | */ |
| 508 | 510 | private function findPriority() { |
| 509 | - if (($priority = $this->get("x_priority")) === null) return; |
|
| 511 | + if (($priority = $this->get("x_priority")) === null) { |
|
| 512 | + return; |
|
| 513 | + } |
|
| 510 | 514 | switch ((int)"$priority") { |
| 511 | 515 | case IMAP::MESSAGE_PRIORITY_HIGHEST; |
| 512 | 516 | $priority = IMAP::MESSAGE_PRIORITY_HIGHEST; |