Project

General

Profile

Revision 56aebcb7

Added by Assos Assos about 8 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/entityreference/plugins/selection/EntityReference_SelectionHandler_Views.class.php
138 138
    if ($this->initializeView(NULL, 'CONTAINS', 0, $ids)) {
139 139
      // Get the results.
140 140
      $entities = $this->view->execute_display($display_name, $args);
141
      $result = array_keys($entities);
141
      if (!empty($entities)) {
142
        $result = array_keys($entities);
143
      }
142 144
    }
143 145
    return $result;
144 146
  }

Also available in: Unified diff