Project

General

Profile

« Previous | Next » 

Revision 5003e934

Added by Andreas Kohlbecker almost 10 years ago

avoiding warning

View differences:

7.x/modules/cdm_dataportal/theme/cdm_dataportal.page.theme
311 311
  if (variable_get('cdm_dataportal_show_default_image', FALSE) && !$hideImages) {
312 312

  
313 313
    // Preferred image hardcoded for testing.
314
    $defaultRepresentationPart = FALSE;
314
    $defaultRepresentationPart = new stdClass();
315 315
    $defaultRepresentationPart->width = 184;
316 316
    $defaultRepresentationPart->height = 144;
317 317
    $defaultRepresentationPart->uri = drupal_get_path('theme', 'palmweb_2') . '/images/no_picture.png';

Also available in: Unified diff