Project

General

Profile

Revision d3719f12

IDd3719f126dcb6dc5f986df8ac97c17e7ef2831c3
Parent 361d492e
Child 7a187dd5

Added by Andreas Kohlbecker about 1 year ago

skipping table cell creation for null media in compose_cdm_media_gallerie()

View differences:

modules/cdm_dataportal/includes/media.inc
346 346
    $out .= '<tr>';
347 347
    for ($c = 0; $c < $cols; $c++) {
348 348
      $media = array_shift($mediaList);
349
        $complete_media = cdm_ws_get(CDM_WS_MEDIA, $media->uuid);
349
      if(!$media){
350
        continue;
351
      }
352
      $complete_media = cdm_ws_get(CDM_WS_MEDIA, $media->uuid);
350 353
      if (isset($complete_media->representations[0]->parts[0])) {
351 354

  
352 355
        //

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)