Archived
Suppress error
This commit is contained in:
@@ -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
|
// 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.
|
// redirection, so we need to generate the ErrorDocument-URI here.
|
||||||
|
|
||||||
$uri = parse_url($_SERVER['REQUEST_URI']);
|
$uri = @parse_url($_SERVER['REQUEST_URI']);
|
||||||
$qst = '';
|
$qst = '';
|
||||||
if (!empty($uri['query'])) {
|
if (!empty($uri['query'])) {
|
||||||
$qst = '&' . str_replace('&', '&', $uri['query']);
|
$qst = '&' . str_replace('&', '&', $uri['query']);
|
||||||
|
|||||||
Reference in New Issue
Block a user