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