Fix for fix :(
authorRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 11:35:45 +0000 (11:35 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 11:35:45 +0000 (11:35 +0000)
inc/functions.php

index 5557b88024ad1605fc245b8157f3d51856d2f639..7ed051a28a3d75725f660c2ee592038d659e00d6 100644 (file)
@@ -3856,7 +3856,7 @@ function encodeUrl ($url, $outputMode = '0') {
        } // END - if
 
        // Add {?URL?} ?
-       if ((substr($url, 0, strlen(getConfig('URL'))) != getConfig('URL')) && (substr($url, 0, 7) == '{?URL?}')) {
+       if ((substr($url, 0, strlen(getConfig('URL'))) != getConfig('URL')) && (substr($url, 0, 7) != '{?URL?}')) {
                // Add it
                $url = '{?URL?}/' . $url;
        } // END - if