Project

General

Profile

Revision ecf46c67

IDecf46c678ce8626ebe6a945c065c76b7e8819e09
Parent 4adc4eeb
Child 54a4201c

Added by Andreas Kohlbecker 6 months ago

fix #9669 avoiding infinite loop in cdm_ws_fetch_all()

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
1210 1210
    $pager =  cdm_ws_page($resourceURI, $page_size, $page_index, $query,  $method, $absoluteURI);
1211 1211
    if(isset($pager->records) && is_array($pager->records)) {
1212 1212
      $entities = array_merge($entities, $pager->records);
1213
      if(!empty($pager->nextIndex)){
1213
      if(!empty($pager->nextIndex) && $page_index != $pager->nextIndex){
1214 1214
        $page_index = $pager->nextIndex;
1215 1215
      } else {
1216 1216
        $page_index = FALSE;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)