Project

General

Profile

« Previous | Next » 

Revision 0b6d2193

Added by Andreas Kohlbecker almost 4 years ago

typo and array initialization

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
1146 1146
 */
1147 1147
function cdm_ws_fetch_all($resourceURI, array $query = array(), $method = 'GET', $absoluteURI = FALSE) {
1148 1148
  $page_index = 0;
1149
  // using a bigger page size to avoid to many multiple requests
1149
  // using a bigger page size to avoid too many multiple requests
1150 1150
  $page_size = 500;
1151
  $entities = array();
1151
  $entities = [];
1152 1152

  
1153 1153
  while ($page_index !== FALSE){
1154 1154
    $pager =  cdm_ws_page($resourceURI, $page_size, $page_index, $query,  $method, $absoluteURI);

Also available in: Unified diff