@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
26 | 26 | $protocol = 'https'; |
27 | 27 | } |
28 | - header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME'])); |
|
28 | + header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME'])); |
|
29 | 29 | exit(); |
30 | 30 | } |
31 | 31 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $attachment->rawOut(); |
99 | 99 | exit(0); |
100 | 100 | } catch (Exception $e) { |
101 | - $attachmentErrors[] = $PMF_LANG['msgAttachmentInvalid'] . ' (' . $e->getMessage() . ')'; |
|
101 | + $attachmentErrors[] = $PMF_LANG['msgAttachmentInvalid'].' ('.$e->getMessage().')'; |
|
102 | 102 | } |
103 | 103 | } else { |
104 | 104 | $attachmentErrors[] = $PMF_LANG['err_NotAuth']; |