Throughout domain.module, as well as once in domain.admin.inc and once in README.txt, this is seen:

variable_get('sitename', 'Drupal')

The correct variable name is 'site_name'. The result was that the name of the site's initial domain would appear to switch to "Drupal" after Domain Access is enabled (even though the proper name is still in {variables}, and "Drupal" would also appear in the "Site name" field of the "Default domain settings" section of admin/build/domain.

AFAIK, this is the first time I've rolled a directory patch - hope this works.

CommentFileSizeAuthor
domain-site_name.patch4.73 KBGarrett Albright

Comments

agentrickard’s picture

Those instances should probably be variable_get('domain_sitename', 'Drupal') actually.

Garrett Albright’s picture

Have you checked out the patch yet? Most of the instances are in the form of:

$some_var = variable_get('domain_sitename', variable_get('sitename', 'Drupal'));
agentrickard’s picture

Status: Needs review » Fixed

Committed. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.