Changeset 2788

Show
Ignore:
Timestamp:
11/16/07 05:30:54 (10 months ago)
Author:
cbalan
Message:

TeamRosterPlugin: - Changed blank userProfile's id from -1 to requested userProfile's id

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • teamrosterplugin/0.11/tracteamroster/userprofiles_stores.py

    r2735 r2788  
    294294        cursor.execute("SELECT sid, name, value FROM session_attribute " 
    295295                        "WHERE sid=%s and authenticated=1 ORDER BY sid", (userProfile_id,)) 
    296         _newUserProfile=UserProfile(-1, self) 
     296        _newUserProfile=UserProfile(userProfile_id, self) 
    297297 
    298298        for sid, name, value in cursor: