diff --git a/ListIt2.module.php b/ListIt2.module.php index e843749..48f6fc1 100755 --- a/ListIt2.module.php +++ b/ListIt2.module.php @@ -769,7 +769,7 @@ function CreatePrettyLink($id, $action, $returnid='', $contents='', $params=arra $string_array[] = $params['id_hierarchy']; // Pagelimit stuff, won't work together with hierarchy stuff. - if(isset($params['pagelimit'])) { + if(isset($params['pagelimit']) && isset($params['pagenumber'])) { $string_array[] = 'page'; $string_array[] = $params['pagenumber'];