adjusting query used in getSubsiteIDForDomain to prevent new DB fields being added to the SQL call if they are not yet added to the DB
adjusting query used in getSubsiteIDForDomain to prevent new DB fields being added to the SQL call if they are not yet added to the DB

mikenz/silverstripe-simplesubsites,mikenz/silverstripe-simplesubsites,silverstripe/silverstripe-subsites,silverstripe/silverstripe-subsites