Whenever I use a form on a site with DA I get the drupal message: Primary domain settings updated. Even regular visitors get this message.
A side effect is the variable 'domain_sitename' is destroyed. When I look into the database the value = 'N'.
I think the problem is in function domain_form_alter(). It should check what form is altered and exit if not the correct form must be altered.
Comments
Comment #1
agentrickardThere's already a patch for that. #623486: = not == in form_id check
Comment #2
promesThanks. I did a scan on the message "Primary domain settings updated." and couldn't find any reference to it.
I checked only a couple of lines at the start of the function and didn't see any reference to the patched line.
Comment #3
agentrickardThis is a duplicate. The problem is in an IF statement in hook_form_alter(). The above patch fixes the problem.