View Single Post
Old October 28th, 2009, 01:52 PM   #21 (permalink)
ktmtalk
Member
Verified Customer
 
Join Date: Oct 2009
Posts: 111
Quote:
Originally Posted by Chuck S View Post
userid is passed in the actual form that is sent when you hit submit to do changes.

Then there is this in the typecast function that grabs the userid

Code:
Content visible to verified customers only.
I have tested the code and it works fine I can most definately change a users paypal email. Userid is not empty.

So unless we are talking something else you should be able to change a users paypal email
correct me if I am wrong but... isn't that userid the userid of the person logged in, and not the userid of the person that posted the ad?

As it stands now,
admin userid=1
sellers userid=6

when I login as admin and try to edit a users ad, it actually changes MY paypal address.

here is the actual query that gets created:
Code:
Content visible to verified customers only.
admin userid=1
sellers userid=6


.
ktmtalk is offline   Reply With Quote