diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php index 5f1cbebd752..61dc7fd98f5 100644 --- a/htdocs/contact/index.php +++ b/htdocs/contact/index.php @@ -407,7 +407,7 @@ if ($result) print ''; - if ($num > $limit) print_barre_liste('' ,$page, "index.php", '&begin='.$begin.'&view='.$view.'&userid='.$_GET["userid"], $sortfield, $sortorder,'',$num,$nbtotalofrecords, ''); + if ($num > $limit) print_barre_liste('' ,$page, $_SERVER["PHP_SELF"], '&begin='.$begin.'&view='.$view.'&userid='.$_GET["userid"], $sortfield, $sortorder,'',$num,$nbtotalofrecords, ''); $db->free($result); }