Fixed now
authorRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 23:14:23 +0000 (23:14 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 3 Nov 2009 23:14:23 +0000 (23:14 +0000)
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://')) {