Closed (fixed)
Project:
Domain
Version:
5.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2008 at 01:43 UTC
Updated:
20 Apr 2008 at 22:48 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| domain.patch | 395 bytes | agentrickard |
Comments
Comment #1
skizzo commentedThe patch does fix the problem reported in
http://drupal.org/node/246435
Thanks.
Comment #2
agentrickard