Projet

Général

Profil

Révision 91af538d

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
190 190
    }
191 191

  
192 192
    foreach ($gids as $entity_type => $gid_x_entity) {
193
      $og_group_entities[$entity_type] = @entity_load($entity_type, $gid_x_entity);
193
      if ($entity_type !== NULL) {
194
        $og_group_entities[$entity_type] = @entity_load($entity_type, $gid_x_entity);
195
      }
196
      else {
197
        watchdog("ldap_authorization_og", "Entity type of 'NULL' found while populating consumers.", WATCHDOG_ERROR);
198
      }
194 199
    }
195 200

  
196 201
    foreach ($consumers as $consumer_id => $consumer) {

Formats disponibles : Unified diff