- πΊπΈUnited States bluegeek9
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .
Domain settings are not saved for setting forms that have #tree set to true:
function some_module_settings_form() {
$form = array('#tree' => TRUE);
// Some form elements.
return system_settings_form($form);
}
This problem can be resolved with a minor change to the domain_settings_form_submit()-handler:
// Original retrieval of the domain id:
$domain_id = $form_state['values']['domain_id'];
// Fix:
$domain_id = empty($form['#tree']) ? $form_state['values']['domain_id'] : $form_state['values']['domain_settings']['domain_id'];
I included a patch which contains the above fix.
Closed: outdated
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .