Projet

Général

Profil

Révision b08fce64

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/modules/user/views_handler_field_user_name.inc
74 74
      }
75 75
    }
76 76
    // If we want a formatted username, do that.
77
    if (!empty($this->options['format_username'])) {
77
    if (!empty($this->options['format_username']) && !is_null($account->uid)) {
78 78
      return format_username($account);
79 79
    }
80 80
    // Otherwise, there's no special handling, so return the data directly.

Formats disponibles : Unified diff