/[drupal]/drupal/modules/user/user.module
ViewVC logotype

Diff of /drupal/modules/user/user.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1134 by webchick, Sun Mar 7 18:46:55 2010 UTC revision 1.1135 by webchick, Fri Mar 12 05:20:29 2010 UTC
# Line 1  Line 1 
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
# Line 391  function user_save($account, $edit = arr Line 391  function user_save($account, $edit = arr
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            }            }

Legend:
Removed from v.1.1134  
changed lines
  Added in v.1.1135

  ViewVC Help
Powered by ViewVC 1.1.6