OK, we are tracking it down. The value in your view source should be a digit, as in the code chunk bitsys posted.
which means the problem is further back in the postbit code. $post[userid] is not being set correctly. When it pops open the window, $post[userid] should have a userid, and instead it's still returning it's object... which means it never gets the userid it's supposed to.
window.open('itemshop.php?action=donate&user=$post[userid]
|