some fixes to wa/wa.php to make it work with new code

git-svn-id: http://webauctionplus.googlecode.com/svn/trunk@355 c41ed8a6-1c15-8a3d-a996-777bd911872f