Show
Ignore:
Timestamp:
08/12/05 20:59:53 (7 years ago)
Author:
alexx
Message:

Add pagination to friends list

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/includes/functions.inc.php

    r15 r21  
    267267} 
    268268 
    269 function get_cache_user_info($id, $fields="", $update_friends_order=false) 
     269function get_cache_user_info($id, $fields=null, $update_friends_order=false) 
    270270{ 
    271271        global $db; 
     
    274274        global $url_id; 
    275275 
    276         if(!$fields) 
     276        if(is_null($fields)) 
    277277                $fields = 'id, login, fname, lname, nick, country, gender, relationship_status, here_for, nb_friends, friends_id, nb_communities, communities_id, nb_fans, nb_bookmarks, nb_blogs, nb_photos, fun, cool, sexy, photo, join_date'; 
    278278