]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Fix for missing http_status element in click.php
[mailer.git] / inc / functions.php
index f85b4df13e107b501931b6c35c2555f4ac387ff1..2edf08a02c0c6f72f466af45dc1048472f4f64b0 100644 (file)
@@ -1000,6 +1000,9 @@ function redirectToUrl ($URL, $allowSpider = true) {
                // Clear own output buffer
                $GLOBALS['output'] = '';
 
+               // Set header
+               setHttpStatus('302 Found');
+
                // Load URL when headers are not sent
                sendHeader('Location: '.str_replace('&', '&', $URL));
        } else {
@@ -2640,7 +2643,7 @@ function getMessageFromErrorCode ($code) {
                        if (isExtensionActive('mailid', true)) {
                                $message = getMessage('ERROR_CONFIRMING_MAIL');
                        } else {
-                               $message = getMaskedMessage('EXTENSION_PROBLEM_NOT_INSTALLED', 'mailid');
+                               $message = getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'mailid');
                        }
                        break;