Project

General

Profile

« Previous | Next » 

Revision afc363df

Added by Andreas Kohlbecker over 11 years ago

fixing #2519 (Make DescriptionElement Media visible in Data Portal)

View differences:

modules/cdm_dataportal/cdm_dataportal.module
1435 1435
		foreach($descriptionElements as $descriptionElement){
1436 1436
			if(is_array($descriptionElement->media)){
1437 1437
				foreach($descriptionElement->media as $media){
1438
					if(isset($media)){
1438
					if(is_object($media)){
1439 1439
						$outArrayOfMedia[] = $media;
1440 1440
					}
1441 1441
				}

Also available in: Unified diff