Closed jenlampton closed 7 years ago
if (module_exists('profile')) { $result = db_query('SELECT name, title FROM {profile_field} ORDER BY category, weight'); foreach ($result as $field) { $options[$field->name] = check_plain($field->title); } }
I have removed any mention of profile module.