Any attempt to change the name of an existing domain results in a validation error.

In multidomain_domain_settings_validate(), the isset() is for $domains[$form_values['url']]. This will always be set, because it is the existing domain. Instead, we need to test for the (potentially) new name, which is $form_values['domain']. Patch attached.

CommentFileSizeAuthor
multidomain-settings_validate.patch786 bytesnedjo

Comments

nedjo’s picture

Status: Needs review » Fixed

Applied.

Anonymous’s picture

Status: Fixed » Closed (fixed)