put the correct function with the logic
This commit is contained in:
parent
aef96a1d5e
commit
eb964bbe08
|
@ -324,10 +324,10 @@ function profile_content(&$a, $update = 0) {
|
||||||
|
|
||||||
if(! $update) {
|
if(! $update) {
|
||||||
if( get_config('alt_pager', 'global') || get_pconfig($a->profile['profile_uid'],'system','alt_pager') ) {
|
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 {
|
else {
|
||||||
$o .= alt_pager($a,count($items));
|
$o .= paginate($a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue