This test is failing in location_form(...) :
/**
* Get form elements for editing locations on an object.
*/
function location_form($settings, $locations) {
if (!isset($settings['multiple']['max']) || $settings['multiple']['max'] == 0) {
// Location not enabled for this object type.
// Bail out early.
return array();
}
when being called from location_user_user(...)
case 'form':
if ($category == 'account') {
if ((($user->uid == $account->uid) && user_access('set own user location')) || user_access('administer user locations')) {
$settings = variable_get('location_settings_user', array());
$form['locations'] = location_form($settings, $account->locations);
return $form;
}
}
break;
because the variable "location_settings_user" isn't set, hence variable_get returns an empty array().
Comments
Comment #1
yesct commentedPlease check to see if this is still a problem in the new release. If it is, reply with a new summary and set the status back to active.
Comment #2
fizk commentedI'm not using location anymore, you can test and/or close.
Comment #3
yesct commentedthanks for the reply. I'll see if I can get someone to follow up on this.
Comment #4
legolasboClosing old D6 issues as D6 is end of life