All-

There is a known bug inside the domain_default() function. The function should be:

function domain_default($reset = FALSE) {
  static $default;
  if (empty($default) || $reset) {
    $default['domain_id'] = 0;
    $default['sitename'] = variable_get('domain_sitename', variable_get('sitename', 'Drupal'));
    $default['subdomain'] = variable_get('domain_root', '');
    $default['scheme'] = variable_get('domain_scheme', 'http');
    // Set the valid flag.
    $default['valid'] = TRUE;
    // Let submodules overwrite the defaults, if they wish.
    $default = domain_api($default);
  }
  return $default;
}

Please check all your issues after patching this bug.

CommentFileSizeAuthor
domain.patch395 bytesagentrickard

Comments

skizzo’s picture

The patch does fix the problem reported in
http://drupal.org/node/246435

Thanks.

agentrickard’s picture

Status: Active » Closed (fixed)