Eliminate Undefined variable errors in wpsc_obtain_the_description

This poorly-written function is now less poorly-written. Removed
unneeded globals, test $_GET variables before using, removed direct
query to database