easydigitaldownloads/Easy-Digital-Downloads — pull request #2878 by ericnicolaas (2014-12-16 05:36:41+00:00)
Title: Validate that the user is already in the customers database.

As it stands, this code throws notices if the passed `$user` does not exist in the customers table. This ensures that a sensible value is always returned.