Create webdomain form lists domains that are already used

When using the domain module the dropdown menu lists all domains, also the ones that already have a site and will give an error when you try.

image

The bug is in the getDomainModuleDomains() function using a NULL value in a query which fails. I'm preparing a patch...