Project

General

Profile

« Previous | Next » 

Revision a2acff0a

Added by Katja Luther over 5 years ago

ref #7755: implement detail pages for occurrences, add links to originals and derivates

View differences:

modules/cdm_dataportal/includes/media.inc
258 258
  $mediaList = $configuration['mediaList'];
259 259

  
260 260
  // Do not show an empty gallery.
261
  if (count($mediaList) == 0) {
262
    return '';
263
  }
261
    if (!is_array($mediaList) || count($mediaList) == 0){
262
        return '';
263
    }
264

  
264 265

  
265 266
  // merge with default
266 267
  $configuration = array_merge(

Also available in: Unified diff