From b4c90e5ddb25dddd94e0667e83c7f4f79aaf88a0 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 21 Feb 2008 14:39:08 +0000 Subject: [PATCH] Suppress error --- include/functions_permalinks.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index ca97a35..7a820a5 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -710,7 +710,7 @@ function serendipity_currentURL($strict = false) { // articles view. POSTing data to that page only works with mod_rewrite and not the ErrorDocument // redirection, so we need to generate the ErrorDocument-URI here. - $uri = parse_url($_SERVER['REQUEST_URI']); + $uri = @parse_url($_SERVER['REQUEST_URI']); $qst = ''; if (!empty($uri['query'])) { $qst = '&' . str_replace('&', '&', $uri['query']); -- 2.39.5