]> git.mxchange.org Git - friendica.git/commitdiff
put the correct function with the logic
authorZach Prezkuta <fermion@gmx.com>
Wed, 28 Nov 2012 02:33:04 +0000 (19:33 -0700)
committerZach Prezkuta <fermion@gmx.com>
Wed, 28 Nov 2012 02:33:04 +0000 (19:33 -0700)
mod/profile.php

index abeb735fe86e5e973c09fa2f19140fed286804fa..25871c24059d3c77cf3dd0062eeed152014dd668 100644 (file)
@@ -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);
                }
        }