From: Zach Prezkuta Date: Wed, 28 Nov 2012 02:33:04 +0000 (-0700) Subject: put the correct function with the logic X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb964bbe084749e48b7fbd0d931422aec40404e0;p=friendica.git put the correct function with the logic --- 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); } }