Hi there,

I think I found 2 errors in the following files (version 7.x-2.x-dev). They were causing errors and warnings when trying to alter the subdomain configurations and saving new nodes.

includes/subdomain.admin.inc line 221:
if ($form_state['values']['subdomain_mode'] != $form['subdomain_mode']['#default_value']) {
seems like it should be:
if ($form_state['values']['subdomain_mode'] != $form['mode']['subdomain_mode']['#default_value']) {

and includes/subdomain.inc line 102:
$subdomain = subdomain_get_subdomain($object['uid']);
seems like it should be:
$subdomain = subdomain_get_subdomain($object->uid);

Thanks for your work in this module. It's very useful to us (http://culturaperu.org).

rodrigo

Comments

rodrigoderteano’s picture

Issue summary: View changes

just correcting some words

honza pobořil’s picture

Issue summary: View changes
Status: Active » Needs review

Could you check dev version, please? If yes, mark issue as fixed.

honza pobořil’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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