From 0d875bb3f157612566ffc43ee8fb861c27c28d5d Mon Sep 17 00:00:00 2001 From: Garvin Hicking 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 ca97a35c..7a820a54 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']);