Skip to content

Commit

Permalink
Fix to fields in user profil entry passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Jan 31, 2012
1 parent 9424ed5 commit 2950c4e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ def self.fetch_first_entry(user,profile_type_id=nil)
profile_type_id ? self.fetch_entry(user.id,profile_type_id) : nil
end

@@user_fields = %w(name image full_name first_name last_name gender dob source address billing_address work_address shipping_address salutation middle_name lead_source username cell_phone introduction suffix second_image username)
@@user_fields = %w(email name image full_name first_name last_name gender dob source address billing_address work_address shipping_address salutation middle_name lead_source username cell_phone introduction suffix second_image username user_profile_id user_profile)

def self.fetch_entry(user_id,profile_type_id)
attr= { :user_profile_type_id => profile_type_id, :end_user_id => user_id }
Expand Down

0 comments on commit 2950c4e

Please sign in to comment.