Page 1 of 1

[FIXED] Swapping with yourself

Posted: Thu Jul 30, 2009 6:53 am
by null
The software tester in me just had to try this.

If you put something on the swap shop and then remove remove the rm from the a attribute from the remove link you can trade with yourself. And when you confirm the trade you get the Whoops! screen.

Posted: Thu Jul 30, 2009 7:54 am
by Mad Merlin
The funny part is I actually handle that case already (with the message, "Trading with yourself?"), the problem is that i unset a variable when doing so, but then try and use it later without checking if it's set in that certain case.

Anyways, fixed.