| 1 |
<?php |
<?php |
| 2 |
// $Id: user.module,v 1.1133 2010/03/07 07:56:24 webchick Exp $ |
// $Id: user.module,v 1.1134 2010/03/07 18:46:55 webchick Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 391 |
// Form fields that don't pertain to the users, user_roles, or |
// Form fields that don't pertain to the users, user_roles, or |
| 392 |
// Field API are automatically serialized into the users.data |
// Field API are automatically serialized into the users.data |
| 393 |
// column. |
// column. |
| 394 |
if (!in_array($key, array('roles', 'is_new')) && empty($user_fields[$key]) && empty($field_names[$key])) { |
if (!in_array($key, array('roles', 'is_new', 'current_pass_required_values', 'current_pass')) && empty($user_fields[$key]) && empty($field_names[$key])) { |
| 395 |
if ($value === NULL) { |
if ($value === NULL) { |
| 396 |
unset($data[$key]); |
unset($data[$key]); |
| 397 |
} |
} |