diff --git a/inc/pageutils.php b/inc/pageutils.php index b7e09af5b34951beda2edd02cf16058c0ca77413..063e0b9b55da739ddc75c262a7b1aa033eca6e65 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -81,7 +81,13 @@ function getID($param='id',$clean=true){ // fall back to default $id = $id.$conf['start']; } - if (isset($ACT) && $ACT === 'show') send_redirect(wl($id,'',true)); + if (isset($ACT) && $ACT === 'show') { + $urlParameters = $_GET; + if (isset($urlParameters['id'])) { + unset($urlParameters['id']); + } + send_redirect(wl($id,$urlParameters,true)); + } } if($clean) $id = cleanID($id);