From eb964bbe084749e48b7fbd0d931422aec40404e0 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Tue, 27 Nov 2012 19:33:04 -0700 Subject: [PATCH] put the correct function with the logic --- mod/profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/profile.php b/mod/profile.php index abeb735fe8..25871c2405 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -324,10 +324,10 @@ function profile_content(&$a, $update = 0) { if(! $update) { if( get_config('alt_pager', 'global') || get_pconfig($a->profile['profile_uid'],'system','alt_pager') ) { - $o .= paginate($a); + $o .= alt_pager($a,count($items)); } else { - $o .= alt_pager($a,count($items)); + $o .= paginate($a); } } -- 2.39.5