Projet

Général

Profil

Révision 6e3ce7c2

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/contexts/user.inc
41 41
  if ($conf) {
42 42
    if ($data['type'] == 'current') {
43 43
      global $user;
44
      $data = user_load($user->uid);
45 44
      if (user_is_logged_in()) {
45
        $data = user_load($user->uid);
46 46
        $data->logged_in_user = TRUE;
47 47
      }
48
      else {
49
        $data = drupal_anonymous_user();
50
      }
48 51
    }
49 52
    else {
50 53
      $data = user_load($data['uid']);

Formats disponibles : Unified diff