]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Some typos
[mailer.git] / inc / functions.php
index dbf0581fe2cb8a1a5a31adba8baa9a46a86b4819..a0418238dc546b7b2d410dd742b780fa0d8a3d75 100644 (file)
@@ -962,8 +962,8 @@ function makeTime ($hours, $minutes, $seconds, $stamp) {
 
 // Redirects to an URL and if neccessarry extends it with own base URL
 function redirectToUrl ($URL) {
-       // Compile out URI codes
-       $URL = compileUriCode($URL);
+       // Compile out codes
+       eval('$URL = "' . compileCode($URL) . '";');
 
        // Check if http(s):// is there
        if ((substr($URL, 0, 7) != 'http://') && (substr($URL, 0, 8) != 'https://')) {