From 6d2261c68297de5411ebade6548b6f9c3d3164a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 18 Nov 2009 11:35:45 +0000 Subject: [PATCH 1/1] Fix for fix :( --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 5557b88024..7ed051a28a 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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 -- 2.30.2